예제 #1
0
        public void bindingDDLs()
        {
            try
            {
                Su_ThoiHanBaoQuanLogic bqLogic = new Su_ThoiHanBaoQuanLogic();
                DataTable dt = bqLogic.getAllSec();
                bindingEachDDL(dt, "All", ddlThoiHan);

                Su_TinhTrangVatLyLogic vlLogic = new Su_TinhTrangVatLyLogic();
                dt = vlLogic.getAllSec();
                bindingEachDDL(dt, "All", ddlTinhTrangVatLy);

                Su_MucLucLogic mlLogic = new Su_MucLucLogic();
                dt = mlLogic.getAllSec();
                bindingEachDDL(dt, "All", ddlMucluc);

                QuanLyCheDoSuDungLogic cdLogic = new QuanLyCheDoSuDungLogic();
                dt = cdLogic.getAllSec();
                bindingEachDDL(dt, "All", ddlCheDoSuDung);
            }
            catch (Exception ex)
            {
                Logger.logmessage(classobject, "bindingDDLs", ex.Message + ex.StackTrace); Response.Redirect("~/ThongBaoLoi.aspx", false);
            }
        }