Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Convert.ToString(Session["TenDangNhap"]) == "")
     {
         Response.Redirect("~/dangnhap.aspx");
     }
     ctquyenDAL           = new clsCTQuyen_DAL();
     ctquyenDTO           = new clsCTQuyen_DTO();
     cmn                  = new clsCommon();
     gvCTQuyen.DataSource = loadDataToUI();
     gvCTQuyen.DataBind();
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Convert.ToString(Session["TenDangNhap"]) == "")
         Response.Redirect("~/dangnhap.aspx");
     ctquyenDAL = new clsCTQuyen_DAL();
     ctquyenDTO = new clsCTQuyen_DTO();
     cmn = new clsCommon();
     gvCTQuyen.DataSource = loadDataToUI();
     gvCTQuyen.DataBind();
 }