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 / ramesh

Write this code in default.aspx:

Response.Redirect("default2.aspx?Name=" + txtStudName.Text);

Write this code in default2.aspx:

if (Request.QueryString["Name"] != null)
{
TextBox1.Text = Request.QueryString
["Name"].ToString();

}

Is This Answer Correct ?    10 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is inproc mode in session?

688


Can you explain page lifecycle in net?

721


What is difference between session and viewstate?

662


What are directives in asp.net?

702


What is postback and autopostback in asp.net?

755


Which object encapsulates state or data of a user?

840


Explain the difference between sql invalidation and sql notification.

747


What would be salary for 8+ years of experience in ASP.NET in different metro city in india?

2200


What is a 401 redirect?

695


What is the difference between web.config and machine.config in ASP.NET?

832


How do you implement sql caching in asp.net?

776


Describe a bubbled event and how it is used ?

845


What are the types of caching in asp.net?

768


How to bind all the binding controls in a page at once in ASP.NET?

730


Name the namespace which is used by ado.net?

719