Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     cart = new userCart();
     cart.addToCart("3", "4");
     cart.addToCart("3", "4");
     CartGridView1.DataSource = cart.getCart();
     CartGridView1.DataBind();
 }
Beispiel #2
0
 protected void submitBTN_Click(object sender, EventArgs e)
 {
     cart.addToCart(member.MemberID, product.Proid);
 }