private void SaveCart() { CartsComponent cComp = new CartsComponent(); Cart c = cComp.GetCartByUserName(Request.Cookies["userName"].Value); c.Details = txtDetails.Text; cComp.UpdateCart(c); }