public FillDatasetByIdLoaiTuDien ( DS_CM_DM_TU_DIEN v_ds_cm_dm_td, int i_dc_id_loai_tu_dien ) : void | ||
v_ds_cm_dm_td | DS_CM_DM_TU_DIEN | |
i_dc_id_loai_tu_dien | int | |
return | void |
private void load_data_to_sle_nhom_ld() { 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, 18); m_sle_nhom_ld.Properties.DataSource = v_ds.Tables[0]; }
private void load_data_to_combobox_khoan_tien() { 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, 19); m_cmb_khoan_tien.DataSource = v_ds.Tables[0]; m_cmb_khoan_tien.DisplayMember = "TEN"; m_cmb_khoan_tien.ValueMember = "ID"; }
private void load_data_to_sle_muc_lns() { 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, 2); m_sle_muc_lns.Properties.DataSource = v_ds.Tables[0]; m_sle_muc_lns.Properties.DisplayMember = CM_DM_TU_DIEN.TEN; m_sle_muc_lns.Properties.ValueMember = CM_DM_TU_DIEN.ID; }
private void load_data_to_sle_muc_lcd() { 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, 4); m_sle_muc_lcd.Properties.DataSource = v_ds.Tables[0]; m_sle_muc_lcd.Properties.DisplayMember = CM_DM_TU_DIEN.TEN; m_sle_muc_lcd.Properties.ValueMember = CM_DM_TU_DIEN.ID; //m_sle_chuc_danh_lns.EditValue = null; //m_sle_muc_lcd.Properties.NullText = "--Chọn mức--"; }
private void load_data_to_sle_loai_lao_dong() { 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, 6); m_sle_loai_lao_dong.Properties.DataSource = v_ds.Tables[0]; m_sle_loai_lao_dong.Properties.DisplayMember = CM_DM_TU_DIEN.TEN; m_sle_loai_lao_dong.Properties.ValueMember = CM_DM_TU_DIEN.ID; //m_sle_loai_lao_dong.Properties.NullText = "---Chọn loại lao động---"; }
private void load_data_to_le_ly_do_chinh_sua() { 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, CONST_ID_LOAI_TU_DIEN.LY_DO_CHINH_SUA_HS_LNS); m_le_ly_do_chinh_sua.Properties.DataSource = v_ds.Tables[0]; }
private DS_CM_DM_TU_DIEN load_data_2_cm_dm_tu_dien(int m_id_lns_lcd_trong_loai_td) { DS_CM_DM_TU_DIEN v_ds = new DS_CM_DM_TU_DIEN(); US_CM_DM_TU_DIEN v_us = new US_CM_DM_TU_DIEN(); v_us.FillDatasetByIdLoaiTuDien(v_ds, m_id_lns_lcd_trong_loai_td); return v_ds; }
private DataSet load_data_2_cm_dm_tu_dien(int m_id_vt) { DS_CM_DM_TU_DIEN v_ds = new DS_CM_DM_TU_DIEN(); US_CM_DM_TU_DIEN v_us = new US_CM_DM_TU_DIEN(); v_us.FillDatasetByIdLoaiTuDien(v_ds, m_id_vt); return v_ds; }
private void get_loai_phu_cap() { 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, 5); m_search_lookup_edit_loai_phu_cap.Properties.DataSource = v_ds.Tables[0]; m_search_lookup_edit_loai_phu_cap.Properties.BestFitMode = BestFitMode.BestFitResizePopup; //DataSet v_ds = new DataSet(); //DataTable v_dt = new DataTable(); //US_DUNG_CHUNG v_us = new US_DUNG_CHUNG(); //v_ds.Tables.Add(v_dt); //v_us.FillDatasetWithQuery(v_ds, "SELECT * FROM CM_DM_TU_DIEN WHERE ID_LOAI_TU_DIEN = 5"); //m_search_lookup_edit_loai_phu_cap.Properties.DataSource = v_ds.Tables[0]; //m_search_lookup_edit_loai_phu_cap.Properties.BestFitMode = BestFitMode.BestFitResizePopup; }
private void load_data_to_sle_loai_quy() { 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, 16); m_sle_loai_quy_thu_nhap.Properties.DataSource = v_ds.Tables[0]; }
private void load_data_to_sle_cach_tinh_thue() { 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, 13); m_sle_cach_tinh_thue.Properties.DataSource = v_ds.Tables[0]; }
private void load_data_to_mo_ta_cv() { 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, CONST_ID_LOAI_TU_DIEN.MO_TA_CONG_VIEC); m_sle_mo_ta_cv.Properties.DataSource = v_ds.Tables[0]; m_sle_mo_ta_cv.Properties.DisplayMember = CM_DM_TU_DIEN.TEN; m_sle_mo_ta_cv.Properties.ValueMember = CM_DM_TU_DIEN.ID; }
private void load_data_cau_hinh_in() { US_CM_DM_TU_DIEN v_us = new US_CM_DM_TU_DIEN(); v_us.FillDatasetByIdLoaiTuDien(m_ds_cau_hinh_in, CONST_ID_LOAI_TU_DIEN.CAU_HINH_IN_HD); }
private void fill_datasource_loai_lao_dong() { 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, 6); //US_DUNG_CHUNG v_us = new US_DUNG_CHUNG(); //DataSet v_ds = new DataSet(); //DataTable v_dt = new DataTable(); //v_ds.Tables.Add(v_dt); //v_us.FillDatasetWithQuery(v_ds, "select ID,TEN FROM CM_DM_TU_DIEN WHERE ID_LOAI_TU_DIEN=6"); m_sle_loai_lao_dong.Properties.DataSource = v_ds.Tables[0]; m_sle_loai_lao_dong.Properties.BestFitMode = BestFitMode.BestFitResizePopup; }