473,382 Members | 1,107 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

response.write ""1.0"" <------ How do you do this?

In an ASP Querystring, how do I include the double quotes in the code below at "1.0" part as text in my string?
I have tried ""1.0"" and almost everything else but can't get it to work.

I need the string to to pass to the next page with the double quotes around the 1.0 exactly like it looks below.


strBody = "<?xml version="1.0"?><SaleRequest><CustomerData><Email>" &session("email_address").........


<email address removed>
Aug 16 '07 #1
5 2177
Does anyone have an answer on how include double quotes as part of the text of an ASP querystring?

I have tried using double quotes around the double quotes to no avail.

I am sure the anser is obvious, but I am stumped!

I would appreciate any advice you have.

Thank you!
Aug 16 '07 #2
In the code response.write ""1.0"" I am trying to write "1.0" including the double quotes as a text string to my ASP page.

How do I write double quotes to an ASP page?

I have already tried double quotes around the double quotes and tried the
Aug 16 '07 #3
continued from above, misposted...

Chr(34) deal on both sides of the double quotes!
Aug 16 '07 #4
jhardman
3,406 Expert 2GB
try
Expand|Select|Wrap|Line Numbers
  1. chr(34)
or
Expand|Select|Wrap|Line Numbers
  1. "&amp;quot;"
or
Expand|Select|Wrap|Line Numbers
  1. "&amp; #34;"
Let me know if this helps.

Jared
Aug 17 '07 #5
jhardman
3,406 Expert 2GB
continued from above, misposted...

Chr(34) deal on both sides of the double quotes!
Expand|Select|Wrap|Line Numbers
  1. response.write chr(34) & "1.0" & chr(34)
  2. response.write "&amp;quot;1.0&amp;quot;"
either will display correctly ("1.0")
Aug 17 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Ricardo | last post by:
Hi. How should I pass a " (doble-quote) character to response.write() in order for it to be sent to the output ? Thanks in advance for the help.
9
by: mallyonline | last post by:
I last posted to this group about 6 months ago and was very pleased by the excellent response I got and the great help offered to me. I am back this time with another request for your expert help...
5
by: Peter Aitken | last post by:
In my usercontrol I want to use response.write in code behind to write HTML to the page. However it outputs at the top of the page and I want the output at the bottom, beneath the controls. How can...
3
by: PK9 | last post by:
I'm having some issues with using a Response.Write or the shortcut ( <%= ...) from within a label control. I cannot do this in the code behind, I need to do it here at runtime. I have a public...
0
by: ECathell | last post by:
I am trying to debug a remote application that works fine on my devmachine(localhost) but does not work as intended on my production server. i have setup a codeblock that is supposed to show a...
7
by: samuelberthelot | last post by:
Hi, I have the following in my asp page: <% response.write(Header) %> where Header contains HTML markup such ass <html> <body> .... I must write the code in the aspx file and not in the...
16
by: Dom | last post by:
Hi, I writing code that will create asp pages using the file system object. I'm trying something like this without much luck <% .. .. 'other code here
3
by: Manish Sawjiani | last post by:
Dear experts i have just migrated from asp to asp.net and i am missing the loop for creating tables. while in asp one could just start a loop anywhere withing <% %is this out of style in the...
2
by: nudrat | last post by:
can nebody tell me which of the following is better over other and how? Difference between response.write and <%=%> both of these statement will return same output. Thanks & Regards Nudrat
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.