protected void Page_Load(object sender, EventArgs e) { if (Session["admin"] == null) { Response.Redirect("~/admin/admin_login.aspx"); } else { GridView1.DataSource = admin.orderSel(); GridView1.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (Session["admin"] == null) { Response.Redirect("~/admin/admin_login.aspx"); } else { GridView1.DataSource = admin.orderSel(); GridView1.DataBind(); } }