private void btnLoadRecords_Click(object sender, EventArgs e)
        {
            dgvStudents.DataSource = null;
            var allStudents = studentCRUD.GetAllStudents();

            dgvStudents.DataSource = allStudents;
        }
Beispiel #2
0
 public IList <Student> GetAllStudents(string sortOrder, string searchString)
 {
     return(studentTableActions.GetAllStudents(sortOrder, searchString));
 }