コード例 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     _order = new AppObjects.Order();
     _dataset = _order.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_Order"))
     {
         Response.Redirect("Home.aspx");
     }
     else
     {
         _order = new AppObjects.Order();
         _dataset = _order.GetDataSet();
         Session["ID"] = "";
         FillGridView();
     }
 }