protected void Page_Load(object sender, EventArgs e) { Title = "科技有限公司"; if (!Page.IsPostBack) { JobSystem jobSystem = new JobSystem(); AspNetPager1.RecordCount = jobSystem.Get_JobNum(); } }
protected void Page_Load(object sender, EventArgs e) { if (Session["Admin_User"] == null) { Response.Redirect("login.aspx"); Response.End(); } else { JobSystem jobSystem = new JobSystem(); AspNetPager1.RecordCount = jobSystem.Get_JobNum(); } }