private void LoadShoppingCart() { LittleItalyVineyard.Common.ShoppingCart shoppingcart = new LittleItalyVineyard.Common.ShoppingCart(); shoppingcart.CartGUID = Utilities.GetCartGUID(); ProcessGetShoppingCart processgetcart = new ProcessGetShoppingCart(); processgetcart.ShoppingCart = shoppingcart; processgetcart.Invoke(); gridviewShoppingCart.DataSource = processgetcart.ResultSet; gridviewShoppingCart.DataBind(); }
private void LoadShoppingCart() { LittleItalyVineyard.Common.ShoppingCart shoppingcart = new LittleItalyVineyard.Common.ShoppingCart(); shoppingcart.CartGUID = CartGUID; ProcessGetShoppingCart processgetcart = new ProcessGetShoppingCart(); processgetcart.ShoppingCart = shoppingcart; try { processgetcart.Invoke(); gridviewShoppingCart.DataSource = processgetcart.ResultSet; gridviewShoppingCart.DataBind(); } catch { Response.Redirect("ErrorPage.aspx"); } }