i am using query string method to pass the value form one page to another.
the code is Response.Redirect("~/Default.aspx?FirstName=" +Server.UrlPathEncode(TextBox1.Text) + "&LastName=" +TextBox2.Text.Replace(" ","%20") + ""); but the value is not hiding on address bar. i can value on the address bar on next page.
2 Answers
The question is not clear for me, but if you have problem with passing parameters between pages and with showing/hiding this parameters then you should read about GET and POST method. Here is similar problem to yours: GET and POST in asp.net
Comments
If your only goal is to have a way to maintain values across pages, then you can use Sessions.
the value is not hiding on address bar- I don't understand that. Do you mean it is not showing?