public DsInventory.STOCKMASTERDataTable GetStockItemBySprice(string itemno,string storetype,decimal sprice) { var ta = new DsInventoryTableAdapters.STOCKMASTERTableAdapter() { Connection = { ConnectionString = _constr } }; var ds = new DsInventory().STOCKMASTER; ta.FillByItemnoBySprice(ds, itemno,sprice,storetype, Utils.Company); return ds; }