protected void Page_Load(object sender, EventArgs e) { AccessMatrix matrix = new AccessMatrix(this.Page); //matrix.CheckAdmin(); if (!IsPostBack) { if (Session["LoginAdmin"] != null) { Bind(); } else { Response.Redirect("Login.aspx"); } } }
protected void Page_Load(object sender, EventArgs e) { AccessMatrix matrix = new AccessMatrix(this.Page); //matrix.CheckAdmin(); if (!IsPostBack) { DiplayCalender(false); BindAll(); } }