How to pass values from one page to another in

 Posted by Susanthampy on 6/23/2011 | Category: ASP.NET Interview questions | Views: 7576 | Points: 40

In ASP.NET there are several methods to pass values between pages. For passing and storing values using State management techniques. There are different types of state management techniques are there. They are
Here I am Explaining 2 techniques,
1. Querystring,
2. Session,

In QueryString , attaching the values with the URL of the page,
For Example,
Response.Redirect("OrganizationDetailsAM.aspx?ApplicationDetailsID=" + applicationDetailsID + "&ApplicationType=" + applicationType, false);

For retieving this value in the next page,


A session is defined as the period of time that a unique user interacts with a Web application.
For Example,

For retrieving,


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response