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

benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

1752


Explain the concept of MVC Scaffolding?

582


Can you set the session out time manually?

366


How can we prevent browser from caching an aspx page?

518


What is the difference between visual basic and asp.net?

508






What is the question mark in a url?

511


Define page fragment caching?

508


Why session is used in asp.net?

517


How can we apply themes to an asp.net application?

544


What is inproc mode in session?

497


How to use multiple scriptmanager controls in a web page?

582


What is state management react?

499


What are the security types in asp.net?

566


What is & in a url?

513


How you will manage the state of ASP.NET controls?

558