private void DisplayCart() { var list = cart.GetCart(); if (list.Count == 0) { btnCheckout.Enabled = false; rptrCart.DataSource = ""; rptrCart.DataBind(); pnlCheckout.Visible = false; } else { rptrCart.DataSource = list; rptrCart.DataBind(); CalculateFinalTotal(); } }