public int GetStockid(string itemno) { var ta = new DsInventoryTableAdapters.STOCKMASTERTableAdapter { Connection = { ConnectionString = _constr } }; return Convert.ToInt32(ta.GetStockIdofItem(itemno)); }
public int GetStockid(string itemno) { var ta = new DsInventoryTableAdapters.STOCKMASTERTableAdapter { Connection = { ConnectionString = _constr } }; return Convert.ToInt32(ta.GetStockIdofItem(itemno)); }