p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > ASP Forms
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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.

 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 17th, 2004, 08:17 PM
Authorized User
Points: 161, Level: 3
Points: 161, Level: 3 Points: 161, Level: 3 Points: 161, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
  #2 (permalink)  
Old May 17th, 2004, 08:31 PM
Friend of Wrox
Points: 2,801, Level: 22
Points: 2,801, Level: 22 Points: 2,801, Level: 22 Points: 2,801, Level: 22
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

<><
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
  #3 (permalink)  
Old May 20th, 2004, 07:55 PM
Authorized User
Points: 161, Level: 3
Points: 161, Level: 3 Points: 161, Level: 3 Points: 161, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks my problem is solved problem was that:

[bvalue='<%=queryValue%>'>[/b]

i was using value="<%=queryValue%>"

Burhan

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
  #4 (permalink)  
Old July 18th, 2004, 04:59 PM
Authorized User
Points: 35, Level: 1
Points: 35, Level: 1 Points: 35, Level: 1 Points: 35, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2004
Location: Barrie, Ontario, Canada.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Count in combo box(display results in text box) mboyisis Access 4 April 4th, 2008 08:08 AM
Get last record and display in an Text Box hewstone999 Access VBA 1 March 18th, 2008 07:48 AM
Full Justification through Text Box in VB2005/VB6 saurabh_diwan Visual Studio 2005 1 April 2nd, 2007 09:36 AM
Display currency amounts, including cents. danielh Javascript How-To 1 January 19th, 2004 06:57 PM
Numeric Display in Text Box Tallon Wolle Pro VB 6 1 December 5th, 2003 05:11 AM



All times are GMT -4. The time now is 12:28 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc