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"); } pthiDAL = new clsPhongThi_DAL(); pthiDTO = new clsPhongThi_DTO(); dthiDAL = new clsDiaDiemThi_DAL(); //dthiDTO = new clsDiaDiemThi_DTO(); cmn = new clsCommon(); if (!IsPostBack || !IsCallback) { } if (!Page.IsPostBack) { } loadMasterData(); if (cboDiemThi.Value != null) { pthiDTO.MaDiemThi = cboDiemThi.Value.ToString(); gvPhongThi.DataSource = loadDataToUI(pthiDTO); gvPhongThi.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"); pthiDAL = new clsPhongThi_DAL(); pthiDTO = new clsPhongThi_DTO(); dthiDAL = new clsDiaDiemThi_DAL(); //dthiDTO = new clsDiaDiemThi_DTO(); cmn = new clsCommon(); if (!IsPostBack || !IsCallback) { } if (!Page.IsPostBack) { } loadMasterData(); if (cboDiemThi.Value != null) { pthiDTO.MaDiemThi = cboDiemThi.Value.ToString(); gvPhongThi.DataSource = loadDataToUI(pthiDTO); gvPhongThi.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(); }