private void btnLoad_Click(object sender, EventArgs e) { oStudents = new CStudents(); oStudents.Load(); dataGridView1.DataSource = null; dataGridView1.DataSource = oStudents.Students; }
private void frmStudentInformation_Load(object sender, EventArgs e) { oStudents = new CStudents(); }