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 are the different types of sessions in asp.net? Name them?
Define web.config in .net?
What is a SESSION and APPLICATION object?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
How to fetch a data from one table to another table in asp.net ?
How does asp net store session ids by default?
What is client side state management?
What are directives in asp.net? List down all the important directives.
Explain login controls.
How do you handle server controls?
How does u call and execute a sp in .net?
Mention the namespace that is used to include .net data provider for sql server in .net code?
How do session tokens work?
What websites use asp.net?
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?