protected void Page_Load(object sender, EventArgs e) { _order = new AppObjects.Order(); _dataset = _order.GetDataSet(); Session["ID"] = ""; FillGridView(); }
protected void Page_Load(object sender, EventArgs e) { if (!(Boolean)Session["AllowLogin"]) Response.Redirect("Login.aspx"); AccessRights = (Hashtable)Session["AccessRight"]; if (isDenied("frm_Order")) { Response.Redirect("Home.aspx"); } else { _order = new AppObjects.Order(); _dataset = _order.GetDataSet(); Session["ID"] = ""; FillGridView(); } }