I wrote this code for shopping cart.I used c lass for it and i want to store orders in cache.the customer username is in a session.customer select the product from a datalist.but and I want to show the orders in gridview .but when I select some product and go to the page that gridview is in it (shopping cart page)I could,t see any thing.please look at my code and see if I wrote my code incorrect.thanks for your helping me.
-------------------------------------------------------------------------
//the code for add product to shopping cart(products are in data list)
protected void order(object source, DataListCommandEventArgs e)
{
if (Session["user"] != null)
{
string name=Session["user"].ToString();
if (e.CommandName.CompareTo("Porder")==0)
{
string pid ...
Go to the complete details ...