public void GetAllInventory() { DataManager dataManager = new DataManager(connectionString); allInventoryTable = dataManager.GetAllInventory(); ProductsGridView.DataSource = allInventoryTable; }
public void GetAllInventory() { DataManager dataManager = new DataManager(connectionString); inventoryTable = dataManager.GetAllInventory(); InventoryGridView.DataSource = inventoryTable; }