itemlist[loc] = new product(codes,size,descrip,color,olditem + 1,url)}
    else // new item
    {olditem =  itemlist[item_num].quan
    itemlist[item_num] = new product(codes,size,descrip,color,olditem + 1,url);
    
    items_ordered = item_num
    item_num = item_num + 1
     }

The above code is in javascript.
the value of 'itemlist' is set whenever i click on additem in different html pages. I want to pass this itemlist values to default.aspx.cs so that it can display a confirmation page with all these values. Can you tell me what code i have to use in default.aspx.cs
I tried using hidden variable in the html page which had the above java script n pass the hidden value to default.aspx.cs. But this did not work out for me.

Check out this article to see if it helps:
http://support.microsoft.com/default.aspx/kb/313635

Thanks,

---------------------
Catherine Sea
<URLs SNIPPED>

Try with querysting,
or Better using ajax to post,

Check here, <URL SNIPPED>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.