private void getData() { IList <Student> list = studentDAL.FindStudents(textBox1.Text); this.dataGridView1.DataSource = list; }