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