protected void Page_Load(object sender, EventArgs e)
        {
            var ac    = new AddToCart();
            var count = 0;

            count           = ac.CartListDetails.Count;
            aCart.InnerText = "Your Cart (" + count + " items in cart.)";
        }
예제 #2
0
 public CartList(AddToCart addToCart)
 {
     _addToCart = addToCart;
 }