示例#1
0
        //根据条件学生信息绑定
        public void StudentDataBind()
        {
            List <Students> studentsList = studentsManager.GetStudentsByNameAndType(this.textQueryStuName.Text.Trim(), this.cboQueryStuType.Text.Trim());

            this.dataGridView1.DataSource = studentsList;
        }