public void GetSoldData() { DataManager dataManager = new DataManager(connectionString); string customerID = GetSelectedCustomer(); soldHistoryTable = dataManager.GetSoldHistory(customerID); SoldDataGrid.DataSource = soldHistoryTable; }