public void FillDatasetQuyTNK(DS_GD_QUY_THU_NHAP_KHAC v_ds, DateTime ip_dat_tu_thang, DateTime ip_dat_den_thang) { CStoredProc v_cstore = new CStoredProc("pr_TNK_quy_tien_GetAll"); v_cstore.addDatetimeInputParam("@ip_tu_thang", @ip_dat_tu_thang); v_cstore.addDatetimeInputParam("@ip_den_thang", @ip_dat_den_thang); v_cstore.fillDataSetByCommand(this, v_ds); }
private void load_data_to_grid() { CHRMCommon.make_stt_indicator(m_grv); US_GD_QUY_THU_NHAP_KHAC v_us = new US_GD_QUY_THU_NHAP_KHAC(); DS_GD_QUY_THU_NHAP_KHAC v_ds = new DS_GD_QUY_THU_NHAP_KHAC(); v_us.FillDatasetQuyTNK(v_ds, m_dat_tu_thang.DateTime, m_dat_den_thang.DateTime); m_grc.DataSource = v_ds.Tables[0]; }