I have to send data throug querystring from one page to
another. But it should not be displayed in URL. How it is
possible?
Answers were Sorted based on User's Feedback
Answer / ravindra thakur
Using the server.transfer("page.aspx?id=1")
Is This Answer Correct ? | 10 Yes | 7 No |
Answer / 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 |
What can we do with asp.net?
What is the use of placeholder control? Can we see it at runtime?
What is custom attribute? How to create?
How to create events for a control?
What is the use of web.config and machine.config files?
What is the difference between custom controls and user controls?
What is microsoft windows sharepoint services?
What is the difference between a.Equals(b) and a == b?
What tags do you need to add within the asp:datagrid tags to bind columns manually?
What is AutoEventWireup attribute for ?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
What is ViewState ? and how it is managed ?