protected void Page_Load(object sender, EventArgs e)
    {
        if (Convert.ToString(Session["TenDangNhap"]) == "")
        {
            Response.Redirect("~/dangnhap.aspx");
        }
        choilbangDAL = new clsCauHoi_LoaiBang_DAL();
        choilbangDTO = new clsCauHoi_LoaiBang_DTO();

        lbangDAL = new clsLoaiBanglai_DAL();
        lbangDTO = new clsLoaiBanglai_DTO();

        choiDAL = new clsCauHoi_DAL();
        choiDTO = new clsCauHoi_DTO();


        cmn = new clsCommon();
        if (!IsPostBack || !IsCallback)
        {
        }
        if (!Page.IsPostBack)
        {
        }
        loadMasterData();

        if (cboLoaiBang.Value != null)
        {
            gvCauHoiLoaiBang.DataSource = loadDataToUI();
            gvCauHoiLoaiBang.DataBind();
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Convert.ToString(Session["TenDangNhap"]) == "")
            Response.Redirect("~/dangnhap.aspx");
        choilbangDAL = new clsCauHoi_LoaiBang_DAL();
        choilbangDTO = new clsCauHoi_LoaiBang_DTO();

        lbangDAL = new clsLoaiBanglai_DAL();
        lbangDTO = new clsLoaiBanglai_DTO();

        choiDAL = new clsCauHoi_DAL();
        choiDTO = new clsCauHoi_DTO();

        cmn = new clsCommon();
        if (!IsPostBack || !IsCallback)
        {

        }
        if (!Page.IsPostBack)
        {

        }
        loadMasterData();

        if (cboLoaiBang.Value != null)
        {
            gvCauHoiLoaiBang.DataSource = loadDataToUI();
            gvCauHoiLoaiBang.DataBind();
        }
    }