Here is the scenario:
I have pages that we can add items to "shopping cart",here is the code:
List<string> shopingCart = (List<string>)Session["shopingCart"];
if (shopingCart == null)
{
shopingCart = new List<string>();
Session["shopingCart"] = shopingCart;
}
shopingCart.Add(Request.QueryString["ID"]);
I store the ID of each product in Session state(which is unique), then I want to show all selected items with additional information related to them in GRIDVIEW .
How can I handle this ?