There are many ways to pass values from one page to another. Check the microsoft site for more details:
More Information
http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx[
^]
I am giving a short example using querystring
Response.Redirect("ViewCart.aspx?index ="index"&ID="id);
protected void Page_Load(object sender, EventArgs e)
{
String index = Request.QueryString["index"];
String id =Request.QueryString["id"];
}
Note : Never pass sensitive data using querystring.