I have a client name. e.g: D&G.
This names are passed to another Webpage. for example:
http://abc.com/test.aspx?client=D&G
When I retrieve the first query[0] in another Webpage, I only get client=D without &G
How can I fix the problem of passing names including &?.
Should I replace & with a special character before passing it?
You can use
Server.UrlEncode("D&G")to encode it on server.