I have to send data throug querystring from one page to
another. But it should not be displayed in URL. How it is
possible?
Answer Posted / santosh
string url = "http://localhost:4351/WebSite8/Default5.aspx?" + TextBox1.Text;
Uri weburi = new Uri(url);
string query = weburi.Query;
string weburl = url.Substring(0, url.Length - query.Length);
Response.Redirect(weburl);
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is state management techniques in asp.net?
How to deploy/publish webservices?How many ways?Plz explain me
What is an axd file?
What is difference between URL and URI?
What r the asp.net list controls and diff. Between them?
What is globalization and localization in asp net?
What is the adavantage of using ASP.NET routing?
What are the asp.net server side objects?
What are the benefits of Razor View?
How many types of session in ASP.NET
What are session and cookies?
What is a 401 redirect?
What is the use of session state and application state and difference between them?
Explain the main differences between asp and asp.net?
What's the use of response.output.write()?