protected void Page_Load(object sender, EventArgs e)
 {            
    Lrbd.Business.AddCart art = new Lrbd.Business.AddCart();
     GridView1.DataSource = art.AllcartItem();
     GridView1.DataBind();
     
 }
 public static string GetData(string name)
 {
     Lrbd.Business.AddCart adtcart = new Lrbd.Business.AddCart();
     if (adtcart.AddToCart(name) == 1)
     {
         return "Success";
     }
     else
     {
         return "Not able to add";
     }            
     
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            Lrbd.Business.Customer customr = new Lrbd.Business.Customer();
            DataTable returnItems = customr.LoginCustomerInfo();
            
            foreach (DataRow row in returnItems.Rows)
            {                
                customername = row["name"].ToString();
                email = row["email"].ToString();
                phone = row["phone"].ToString();
            }

            Lrbd.Business.AddCart art = new Lrbd.Business.AddCart();
            GridView1.DataSource = art.AllcartItem();
            GridView1.DataBind();
            
        }