Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
9 Points
53 Posts
Jun 22, 2012 12:31 PM|LINK
This is what I have now. But it will only get the latest update of the arraylist.
Description page:
ArrayList idList = new ArrayList(); idList.Add(ProdID); idList.Add(ProQty); Session["InstallationId"] = idList; Response.Write("<script>if(confirm('Added to cart!')){} else { return false; }</script>");
Check out page:
ArrayList idList = (ArrayList)Session["InstallationId"]; for (int index = 0; index < idList.Count; index++) { Label1.Text = Label1.Text + idList[index].ToString(); }
weihan1394
Member
9 Points
53 Posts
Re: Add to Cart
Jun 22, 2012 12:31 PM|LINK
This is what I have now. But it will only get the latest update of the arraylist.
Description page:
ArrayList idList = new ArrayList(); idList.Add(ProdID); idList.Add(ProQty); Session["InstallationId"] = idList; Response.Write("<script>if(confirm('Added to cart!')){} else { return false; }</script>");Check out page:
ArrayList idList = (ArrayList)Session["InstallationId"]; for (int index = 0; index < idList.Count; index++) { Label1.Text = Label1.Text + idList[index].ToString(); }