// Dispaly database contents to data grid view private void HighScoresReadOnly_Load(object sender, EventArgs e) { HighScoreQuery query = new HighScoreQuery(); highScoresBindingSource.DataSource = query.ShowTableData(); dgv.DataSource = highScoresBindingSource; }
// Method to dispaly databse info to data grid view private void UpdateDGV() { highScoresBindingSource.DataSource = query.ShowTableData(); dgv.DataSource = highScoresBindingSource; }