protected void Page_Load(object sender, EventArgs e) { if (Convert.ToString(Session["TenDangNhap"]) == "") { Response.Redirect("~/dangnhap.aspx"); } pcctDAL = new clsPhanCongCoithi_DAL(); pcctDTO = new clsPhanCongCoiThi_DTO(); pthiDAL = new clsPhongThi_DAL(); pthiDTO = new clsPhongThi_DTO(); cathiDAL = new clsCaThi_DAL(); cathiDTO = new clsCaThi_DTO(); //thisinhDAL = new clsThiSinh_DAL(); //thisinhDTO = new clsThiSinh_DTO(); cmn = new clsCommon(); if (!IsPostBack || !IsCallback) { } if (!Page.IsPostBack) { } loadMasterData(); gvPhanCongCT.DataSource = loadDataToUI(); gvPhanCongCT.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { if (Convert.ToString(Session["TenDangNhap"]) == "") Response.Redirect("~/dangnhap.aspx"); pcctDAL = new clsPhanCongCoithi_DAL(); pcctDTO = new clsPhanCongCoiThi_DTO(); pthiDAL = new clsPhongThi_DAL(); pthiDTO = new clsPhongThi_DTO(); cathiDAL = new clsCaThi_DAL(); cathiDTO = new clsCaThi_DTO(); //thisinhDAL = new clsThiSinh_DAL(); //thisinhDTO = new clsThiSinh_DTO(); cmn = new clsCommon(); if (!IsPostBack || !IsCallback) { } if (!Page.IsPostBack) { } loadMasterData(); gvPhanCongCT.DataSource = loadDataToUI(); gvPhanCongCT.DataBind(); }