C# Query String Formating

Posted on 1 CommentPosted in ASP.NET, C#, Programming

Have you ever had an headache with query string, like for an example “A&B” is your value of parameter “word” in your Url call. http://example.com/?word=A&B But the server will parse the request as the following; Parameter: word    value: B Parameter: B        value: null In which that you want it to parse as; Parameter: word    value: A&B The HttpUtility.UrlEncode(string […]