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"); } cathiDAL = new clsCaThi_DAL(); cathiDTO = new clsCaThi_DTO(); dotthiDAL = new clsDotThi_DAL(); dotthiDTO = new clsDotThi_DTO(); cmn = new clsCommon(); if (!IsPostBack || !IsCallback) { } if (!Page.IsPostBack) { } loadMasterData(); if (cboDotThi.Value != null) { cathiDTO = new clsCaThi_DTO(); cathiDTO.MaDotThi = cboDotThi.Value.ToString(); gvCaThi.DataSource = loadDataToUI(cathiDTO); gvCaThi.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (Convert.ToString(Session["TenDangNhap"]) == "") { Response.Redirect("~/dangnhap.aspx"); } thisinhDAL = new clsThiSinh_DAL(); thisinhDTO = new clsThiSinh_DTO(); cathiDAL = new clsCaThi_DAL(); cathiDTO = new clsCaThi_DTO(); pthiDAL = new clsPhongThi_DAL(); pthiDTO = new clsPhongThi_DTO(); cmn = new clsCommon(); if (!IsPostBack || !IsCallback) { } if (!Page.IsPostBack) { } loadMasterData(); if (cboCaThi.Value != null) { thisinhDTO = new clsThiSinh_DTO(); thisinhDTO.MaTS = cboCaThi.Value.ToString(); gvThiSinh.DataSource = loadDataToUI(thisinhDTO); gvThiSinh.DataBind(); } if (cboPhongThi.Value != null) { thisinhDTO = new clsThiSinh_DTO(); thisinhDTO.MaTS = cboPhongThi.Value.ToString(); gvThiSinh.DataSource = loadDataToUI(thisinhDTO); gvThiSinh.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (Convert.ToString(Session["TenDangNhap"]) == "") Response.Redirect("~/dangnhap.aspx"); cathiDAL = new clsCaThi_DAL(); cathiDTO = new clsCaThi_DTO(); dotthiDAL = new clsDotThi_DAL(); dotthiDTO = new clsDotThi_DTO(); cmn = new clsCommon(); if (!IsPostBack || !IsCallback) { } if (!Page.IsPostBack) { } loadMasterData(); if (cboDotThi.Value != null) { cathiDTO = new clsCaThi_DTO(); cathiDTO.MaDotThi = cboDotThi.Value.ToString(); gvCaThi.DataSource = loadDataToUI(cathiDTO); gvCaThi.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(); }