Re: Attributes.Add querystring

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



use URLEncode


On Nov 30, 10:08 am, "Tom" <tom.gaug...@xxxxxxxxxxxxxxxxx> wrote:
Trying to build a querystring using Attributes.Add:
return_ok.Attributes.Add("value",
"http://mydomain.com/finish.aspx?finish=324234"; + @"&email=rae...@xxxxxxxx"
+ @"&verify=32423dasdf3");

Renders this:

<input name="return_ok" type="hidden" id="return_ok"
value="http://mydomain.com/finish.aspx?finish=324234&amp;amp;email=rae...@xxxxxxxx&amp;amp;verify=32423dasdf3"/>

How to get just one & in the querystring?

.