Beispiel #1
0
 void cmbStudentsLoad()
 {
     cmbStudents.DataSource    = studentManager.GetList();
     cmbStudents.DisplayMember = "UserName";
     cmbStudents.ValueMember   = "Id";
     cmbStudents.SelectedValue = 0;
 }
Beispiel #2
0
 void List()
 {
     dtgStudentList.DataSource = null;
     dtgStudentList.DataSource = studentManager.GetList();
     DataGridProps();
 }