BKI_DichVuMatDat.US.US_RPT_THONG_TIN_TONG_HOP_V2.LayThongTinTongHopNhanVien C# (CSharp) Method

LayThongTinTongHopNhanVien() public method

public LayThongTinTongHopNhanVien ( DataSet ip_ds, string ip_str_ma_nhan_vien, decimal ip_dc_thang, decimal ip_dc_nam ) : void
ip_ds System.Data.DataSet
ip_str_ma_nhan_vien string
ip_dc_thang decimal
ip_dc_nam decimal
return void
        public void LayThongTinTongHopNhanVien(DataSet ip_ds, string ip_str_ma_nhan_vien, decimal ip_dc_thang, decimal ip_dc_nam)
        {
            CStoredProc v_cstore = new CStoredProc("pr_TL_thong_tin_tong_hop_nhan_vien_Get");
            v_cstore.addNVarcharInputParam("@ip_str_ma_nhan_vien", ip_str_ma_nhan_vien);
            v_cstore.addDecimalInputParam("@ip_int_thang", ip_dc_thang);
            v_cstore.addDecimalInputParam("@ip_int_nam", ip_dc_nam);
            v_cstore.fillDataSetByCommand(this, ip_ds);
        }

Usage Example

 private DataRow get_thong_tin_tong_hop_1_nhan_vien_v2(string ip_str_ma_nhan_vien, decimal ip_int_thang, decimal ip_int_nam)
 {
     US_RPT_THONG_TIN_TONG_HOP_V2 v_us = new US_RPT_THONG_TIN_TONG_HOP_V2();
     DataSet v_ds = new DataSet();
     v_ds.Tables.Add(new DataTable());
     v_us.LayThongTinTongHopNhanVien(v_ds, ip_str_ma_nhan_vien, ip_int_thang, ip_int_nam);
     DataRow v_dr = v_ds.Tables[0].Rows[0];
     return v_dr;
 }