I have to send data throug querystring from one page to
another. But it should not be displayed in URL. How it is
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);
|Is This Answer Correct ?||1 Yes||0 No|
Answer / aloke kumar datta
By URL rewriting
|Is This Answer Correct ?||6 Yes||6 No|
Answer / joydeep
using hidden feilds
|Is This Answer Correct ?||6 Yes||8 No|
Answer / don
Use Server.Transfer("PageName")&Var1, &Var2;
|Is This Answer Correct ?||2 Yes||6 No|
Give some salient points of difference between request processor and request dispatcher.
What is the result when the Web Form containing the following line is complied and executed? <asp:Button id=?thebutton? onClick=?theEvent? /> a) The button control is created; theEvent is the click event handler. b) Compiler error; the control must be set to runat=?server?. c) Compiler error; onClick is not a valid attribute. d) Runtime Exception; the control must be set to runat=?server?.
How many types of validators are there in asp net?
What do you mean by View State and what is its role?
How do you declare static variable? What is its lifetime?
Can we override the enablepartialrendering property of the scriptmanager class?
How many types of session in ASP.NET
Write code to send e-mail from an asp.net application?
What is an iHTTPModule, and explain its implementation with its limitations?
How would you turn off cookies on one page of your website?
What is the difference between abstract class vs interface? Can give me the real time examples?
what is roles in asp.net