protected void btn_Checkout_Click(object sender, EventArgs e)
{
string abc = "";
// Response.Redirect("Checkout.aspx");
int customerid = Convert.ToInt32(Session["customerid"].ToString());
EntityManager<ShippingAddress> pcat = new EntityManager<ShippingAddress>();
ShippingAddress procat = new ShippingAddress();
procat.CustomerID = customerid;
List<ShippingAddress> prodcatID = pcat.Search(procat);
if (prodcatID.Count != 0)
{
abc = prodcatID[0].AddressLine1;
}
if (abc == "")
{
addressedit.Visible = true;
}
else
{
addressview.Visible = true;
}
btnfindis.Visible = true;
btn_Checkout.Visible = false;
}