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