public LayDanhSachHeSoLNS ( string ip_str_filter, decimal ip_dc_thang, decimal ip_dc_nam ) : |
||
ip_str_filter | string | |
ip_dc_thang | decimal | |
ip_dc_nam | decimal | |
Результат |
public DataTable LayDanhSachHeSoLNS(string ip_str_filter, decimal ip_dc_thang, decimal ip_dc_nam)
{
CStoredProc v_cstore = new CStoredProc("pr_LNS_danh_sach_he_so_lns_GetAll");
DataSet v_ds = new DataSet();
v_ds.Tables.Add(new DataTable());
v_cstore.addNVarcharInputParam("@ip_str_option", ip_str_filter);
v_cstore.addDecimalInputParam("@thang", ip_dc_thang);
v_cstore.addDecimalInputParam("@nam", ip_dc_nam);
v_cstore.fillDataSetByCommand(this, v_ds);
return v_ds.Tables[0];
}
//Load data private void load_data_2_grid_lns() { US_GD_HE_SO_LNS v_us = new US_GD_HE_SO_LNS(); m_grc.DataSource = v_us.LayDanhSachHeSoLNS(get_option_filter(), get_thang(), get_nam()); }