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

How tooltip is set through code-behind in ASP.NET?

672


Which object is used to encapsulate the state of the client and the browser in ASP.NET?

684


Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?

679


What are the data controls available in asp.net?

603


Which class is used to send an email message from an ASP.NET Web page?

650






In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

674


What is the size of Get method and how much data it can store?

678


Do cookies store passwords?

594


What is the significance of attaching a profile while creating a user?

656


Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?

596


What's the use of formatters in .net?

645


What is page fragment caching?

631


Disable Mouse right click on web page in asp.net?

666


What is windows active directory authentication?

652


When we use cookie less session? Explain its working?

646