public filldatasetBaoCaoThuNhapLDNgoaiBangLuong ( DataSet v_ds, string ip_str_thang, string ip_str_nam, string ip_str_id ) : void | ||
v_ds | DataSet | |
ip_str_thang | string | |
ip_str_nam | string | |
ip_str_id | string | |
return | void |
public void filldatasetBaoCaoThuNhapLDNgoaiBangLuong(DataSet v_ds, string ip_str_thang, string ip_str_nam, string ip_str_id)
{
CStoredProc v_cstore = new CStoredProc("pr_TNK_thu_nhap_nhom_khac_GetAll");
v_cstore.addNVarcharInputParam("@thang", CIPConvert.ToDecimal(ip_str_thang));
v_cstore.addNVarcharInputParam("@nam", CIPConvert.ToDecimal(ip_str_nam));
v_cstore.addDecimalInputParam("@id_nhom_ld", CIPConvert.ToDecimal(ip_str_id));
v_cstore.fillDataSetByCommand(this, v_ds);
}
private void load_data_to_grid() { CHRMCommon.make_stt(m_grv_hs_bs_hs_athk); DataSet v_ds = new DataSet(); US_GD_THU_NHAP_KHAC v_us = new US_GD_THU_NHAP_KHAC(); v_ds.Tables.Add(new DataTable()); v_us.filldatasetBaoCaoThuNhapLDNgoaiBangLuong(v_ds, m_txt_chon_thang.ToString(), m_txt_chon_nam.ToString(), m_sle_nhom_ld.EditValue.ToString()); m_grc_bc_thu_lao.DataSource = v_ds.Tables[0]; this.Load += F481_bao_cao_thu_lao_hdqt_Load; m_dat_thang.DateTimeChanged += M_dat_thang_DateTimeChanged; }