예제 #1
0
 public static DsReports.RptPurchaseReturnDataTable ReturnPurchasingRpt(string purinvId)
 {
     var ta = new RptPurchaseReturnTableAdapter { Connection = { ConnectionString = _constr } };
     var ds = new DsReports.RptPurchaseReturnDataTable();
     ta.Fill(ds, purinvId);
     return ds;
 }
예제 #2
0
 public DsReports.RptPurchaseReturnDataTable RptPurchaseInv(string purinv, string comp)
 {
     var ta = new RptPurchaseReturnTableAdapter{Connection = {ConnectionString = _constr}};
     var ds = new DsReports();
     ta.Fill(ds.RptPurchaseReturn, purinv);
      return ds.RptPurchaseReturn;
 }