public void PopulateSaleObj() { Stocky.Proxies.AppDataClient DataClient = new Proxies.AppDataClient(); try { SaleObject = DataClient.GetSalesObjectByStockID(Convert.ToInt32(Stockid)).SalesObject; } finally { DataClient.Close(); } }
public void PopulateSaleObj() { Stocky.Proxies.AppDataClient DataClient = new Proxies.AppDataClient(); try { SaleObject = DataClient.GetSalesObjectByStockID(Convert.ToInt32(Stockid)).SalesObject; } finally { DataClient.Close(); } }