protected void Page_Load(object sender, EventArgs e)
 {
     _product = new AppObjects.Product();
     _dataset = _product.GetDataSet();
     Session["ID"] = "";
     FillGridView();
 }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!(Boolean)Session["AllowLogin"])
         Response.Redirect("Login.aspx");
     AccessRights = (Hashtable)Session["AccessRight"];
     if (isDenied("frm_Product"))
     {
         Response.Redirect("Home.aspx");
     }
     else
     {
         _product = new AppObjects.Product();
         _dataset = _product.GetDataSet();
         Session["ID"] = "";
         FillGridView();
     }
 }