public void load() { using (Online_Exame ent = new Online_Exame()) { comboBox2.Items.Clear(); var crs = ent.getInstractor_Course(ins_id).ToList(); foreach (var item in crs) { comboBox2.Items.Add(item); } } }
public void load() { using (Online_Exame ent = new Online_Exame()) { comboBox2.Items.Clear(); var crs = ent.getInstractor_Course(ins_id).ToList(); foreach (var item in crs) { comboBox2.Items.Add(item); } } }