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 how can we inherit a static variable?

777


What does the orientation property do in a menu control?

752


What is Dynamic Web and discuss its usage with the help of real life examples?

811


What is cross page posting in asp net?

726


How many languages are supported by .NET at present time?

548


Differentiate between a hyperlink control and a linkbutton control.

737


Define repository pattern in asp.net mvc? : asp.net mvc

707


Is it true that a Web service must be written in .NET or not?

823


How would you implement inheritance using c#?

782


Do you know about caching with the datasource controls?

690


How use Xml data in ASP.net?

761


Explain in what order a destructors is called.

797


How many validators do ASP.NET have?

806


Explain the basic functionality of garbage collector?

718


What symbol specifies the beginning of a query string?

736