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