This code seems to be getting the querystring from a HTTP Get…
HttpContext.Current.Request.QueryString.ToString();
How do I get the querystring from a HTTP POST?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The same way.
Both GET and POST have querystring in the Request. Only POST has the form data.
You shouldn’t be doing
QueryString.ToString(). That will evaluate ALL the keys in the NameValueCollection. You should be using the indexer to retrieve the key you want, or enumerating with the Keys property.