public void RefreshStudentList() { try { StudentList = DALStudent.GetAllStudent(); var bindList = new BindingList <Student>(StudentList); //what is var? dataGridViewStudentFile.DataSource = bindList; } catch (Exception ex) { MessageBox.Show(ex.Message); } }