|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Querystring
Hi
I am trying to pass Querystring to updateform.asp. The value of ListingName is "Muskoka Furniture and Fitting" But the Querystring only passess "Muskoka" Please help me to understand why isn't passing the entire value to the next page i.e. updateform.asp Code: Do while not rs1.EOF Response.Write ("<td><font size=1 face=verdana>") Response.write Request.QueryString(rs1.fields("ListingName")) Response.write ListingName Response.Write ("<a href=updateform.asp?ListingName="&rs1.fields("ListingName")&">"&rs1.fields("Phone")&"</a>") Response.Write ("</font></td>") rs1.MoveNext loop Hey I found the soultion LName= Server.URLEncode(rs1.fields("ListingName")) -------------- Do while not rs1.EOF Response.Write ("<td><font size=1 face=verdana>") LName= Server.URLEncode(rs1.fields("ListingName")) Response.Write ("<a href=updateform.asp?LName="&LName&">"&rs1.fields("Phone")&"</a>") Response.Write ("</font></td>") Last edited by ashi2001 : November 10th, 2003 at 04:40 PM. |
|
#2
|
|||
|
|||
|
You probably don't end up with a quoted value in your html. Check the page source.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Querystring |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|