|
|
 |
| ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP Forms section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|

May 17th, 2004, 08:17 PM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Display full value in text box, including ""
Hi:
I am using ASP with MS Access. I store 12" X 14" in database table. Now when i retrive this value (12" X 14")and show it on page, it works fine.
When i retirve this value and show in text box it display only 12 and remaining " X 14" is not shown in text box. I mean it only displays value before ".
How can i display full value in text box.
Thanks
Burhan
|

May 17th, 2004, 08:31 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Please post your code. My guess is that you are doing something like this:
<input type=text value="<%=queryValue%>">
Try instead this:
<input type=text value='<%=queryValue%>'>
HTH,
Snib
<><
|

May 20th, 2004, 07:55 PM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks my problem is solved problem was that:
[bvalue='<%=queryValue%>'>[/b]
i was using value="<%=queryValue%>"
Burhan
|

July 18th, 2004, 04:59 PM
|
|
Authorized User
|
|
Join Date: Jul 2004
Location: Barrie, Ontario, Canada.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
To add a little to this situation...
This will fix the "double-quotes" situation, but will cause the same problem on single-quotes now, a problem I had dealing with both in the data. To get data containing both I used the Replace command and substituted the ascii code equivalent. For example Replace(string,"'","#039;"). This will replace all single-quotes with the ascii code and the browser will not interpret it as a delimiter of the field. Combined with the above solution, this allows one to display both in the resulting HTML output.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |