private void btnOrder_Click(object sender, ImageClickEventArgs e) { ShopCart cart = new ShopCart(); if(cart.GetCart().Rows.Count > 0) this.CheckOut(cart); else this.ltError.Text = "You have 0 items in the basket. Checkout process cannot continue."; cart.ClearCache(); }