public LayDuLieuThuNhapKhac ( |
||
ip_ds | ||
ip_dc_id_quy_tien_thuong | decimal | |
return | void |
public void LayDuLieuThuNhapKhac(DataSet ip_ds, decimal ip_dc_id_quy_tien_thuong)
{
CStoredProc v_sp = new CStoredProc("PR_SELECT_ALL_THU_NHAP_KHAC");
v_sp.addDecimalInputParam("@ip_dc_quy_tien_thuong", ip_dc_id_quy_tien_thuong);
v_sp.fillDataSetByCommand(this, ip_ds);
}
public void display_athk(decimal ip_dc_id_quy_tien) { fill_data_quy_tien_thuong(); US_GD_THU_NHAP_KHAC v_us = new US_GD_THU_NHAP_KHAC(); DataSet v_ds = new DataSet(); v_ds.Tables.Add(); v_us.LayDuLieuThuNhapKhac(v_ds, ip_dc_id_quy_tien); m_grc_luong_thuong.DataSource = v_ds.Tables[0]; //US_DUNG_CHUNG v_us = new US_DUNG_CHUNG(); //DataSet v_ds = new DataSet(); //v_ds.Tables.Add(); //v_us.FillDatasetWithQuery(v_ds, "select * from V_GD_THU_NHAP_KHAC_2 where id_quy_tien_thuong = " + ip_dc_id_quy_tien); //m_grc_luong_thuong.DataSource = v_ds.Tables[0]; CHRMCommon.make_stt_indicator(m_grv_luong_thuong); m_sle_quy_thuong.EditValue = ip_dc_id_quy_tien; m_grv_luong_thuong.Columns["TRUY_LINH"].Visible = false; m_grv_luong_thuong.Columns["TRUY_THU"].Visible = false; m_grv_luong_thuong.Columns["THUC_LINH_CUOI_CUNG"].Visible = false; ShowDialog(); }