Example #1
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     using (ShoppingCartActions usersShoppingCart = new ShoppingCartActions())
     {
         string cartStr = string.Format("Cart ({0})", usersShoppingCart.GetCountCartItems());
         cartCount.InnerText = cartStr;
     }
 }