Exemplo n.º 1
0
 private void InitObjects()
 {
     oQtrCTacOU = new Business.CNVC.CNVC_QTr_CongTac_OU();
     thongTinCNVC1.Set_IsSearchQtrCtac(true, this, "Thôi Kiêm nhiệm");
     PrepareSourceLoaiQuyetDinh();
     PrepareDataTableDSThoiKiemNhiem();
     //PreapreDataSource();
     dtDonVi = oDonVi.GetDonVi_All();
 }
Exemplo n.º 2
0
        private void PreapreDataSource()
        {
            try
            {
                comB_ChucDanh.DataSource    = oChucDanh.GetList();
                comB_ChucDanh.DisplayMember = "ten_chuc_danh";
                comB_ChucDanh.ValueMember   = "id";

                comB_ChucVu.DataSource    = oChucVu.GetList();
                comB_ChucVu.DisplayMember = "ten_chuc_vu";
                comB_ChucVu.ValueMember   = "id";

                dtDonVi = oDonVi.GetDonVi_All();
                comB_DonVi.DataSource    = dtDonVi;
                comB_DonVi.DisplayMember = "ten_don_vi";
                comB_DonVi.ValueMember   = "id";
                Fill_Info_DonVi();
            }
            catch (Exception)
            {
            }
        }