public int GetPurchaseReturnHoldCount() { var ds = new DsPurchase.RETURNMASTDataTable(); var ta = new RETURNMASTTableAdapter {Connection = {ConnectionString = _constr}}; return ta.FillByHold(ds); }
public DsPurchase.RETURNMASTDataTable GetPurRetMainByHold() { var ta = new RETURNMASTTableAdapter {Connection = {ConnectionString = _constr}}; var ds = new DsPurchase.RETURNMASTDataTable(); ta.FillByHold(ds); return ds; }