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


Please Help Members By Posting Answers For Below Questions

Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

745


Define the term Scavenging in Caching?

802


What is the difference between Hash table and Array list?

632


What are the uses of list view control in Asp.net?

825


How use Xml data in ASP.net?

781


How do you handle server controls?

891


How many types of cookies are available in asp?

809


how can create login from create and written conde in asp.net

2018


What are the different types of validation controls in asp.net?

788


What is postback request?

760


Demonstrate Render and PreRender?

837


What is the postback property in asp.net?

739


What are the differences between application object and session object?

762


How many types of triggers are there in update panel?

803


Explain what are the advantages of asp.net mvc framework? : asp.net mvc

778