private void ExamsButton_Click(object sender, EventArgs e) { DataSet ds = controller.getExams(); dataGridView.DataSource = ds.Tables[0]; }