Ejemplo n.º 1
0
 public void loadIntakes()
 {
     intakes = dbm.getIntakes();
     student = dbm.getStudents();
     comboBox1.Items.Clear();
     comboBox1.Items.Add("ALL");
     foreach (DataSets.intake temp in intakes)
     {
         comboBox1.Items.Add(temp.code);
     }
     comboBox1.SelectedIndex = 0;
 }
Ejemplo n.º 2
0
 public void loadIntake()
 {
     intakes = dbm.getIntakes();
     comboBox1.Items.Clear();
     foreach (DataSets.intake temp in intakes)
     {
         comboBox1.Items.Add(temp.code);
     }
     if (comboBox1.Items.Count > 0)
     {
         comboBox1.SelectedIndex = 0;
     }
 }
Ejemplo n.º 3
0
 public void loadStudent()
 {
     student = dbm.getStudents();
     intakes = dbm.getIntakes();
     comboBox2.Items.Clear();
     foreach (DataSets.student temp in student)
     {
         comboBox2.Items.Add(temp.id);
     }
     comboBox1.Items.Clear();
     foreach (DataSets.intake temp in intakes)
     {
         comboBox1.Items.Add(temp.code);
     }
     if (comboBox2.Items.Count > 0)
     {
         comboBox2.SelectedIndex = 0;
     }
 }