private void load_data_2_cbo_loai_hop_dong()
        {
            DS_CM_DM_TU_DIEN v_ds_cm_dm_td = new DS_CM_DM_TU_DIEN();
            US_CM_DM_TU_DIEN v_us_cm_dm_td = new US_CM_DM_TU_DIEN();

            v_us_cm_dm_td.FillDatasetByIdLoaiTuDien(v_ds_cm_dm_td, 6);
            m_cbo_loai_hop_dong.DataSource    = v_ds_cm_dm_td.Tables[0];
            m_cbo_loai_hop_dong.DisplayMember = CM_DM_TU_DIEN.TEN_NGAN;
            m_cbo_loai_hop_dong.ValueMember   = CM_DM_TU_DIEN.ID;
        }
示例#2
0
        private void load_data_2_cbo_chuc_nang()
        {
            US_CM_DM_TU_DIEN v_us = new US_CM_DM_TU_DIEN();
            DS_CM_DM_TU_DIEN v_ds = new DS_CM_DM_TU_DIEN();

            v_us.FillDatasetByIdLoaiTuDien(v_ds, 14);
            m_cbo_chuc_nang.DataSource    = v_ds.Tables[0];
            m_cbo_chuc_nang.ValueMember   = CM_DM_TU_DIEN.ID;
            m_cbo_chuc_nang.DisplayMember = CM_DM_TU_DIEN.TEN_NGAN;
        }