use 
server.urlencode()

http://www.learnasp.com/learn/encode.asp

do not try to hand encode it.


Response.Redirect ("WebForm1.aspx?" + server.urlencode("LIB=C100") +
server.urlencode("DOCID=DA00008");

On Mon, 24 Jan 2005 14:55:48 -0000, scaevola637 <[EMAIL PROTECTED]> wrote:
>  
>  <code>
>  in 
>  Response.Redirect ("WebForm1.aspx?" + "LIB=C100" + "&amp;" 
>  + "DOCID=DA00008");
>  </code>
>  the Request.QueryString.toString() 
>  becomes
>  <code>
>  "LIB=C100&amp%3bDOCID=DA00008"            
>  </code>
>  now #3b is the hexidecimal representation of ";"
>  
>  I dont understand why it converted it.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to