private void AddEmployeeForm_Load(object sender, EventArgs e) { serviceDA = new DBControllerWSClient(); areas = new BindingList <area>(serviceDA.queryAllArea()); for (int i = 0; i < areas.Count; i++) { cbArea.Items.Add(areas[i].description); } }
private void AddEmployeeForm_Load(object sender, EventArgs e) { serviceDA = new DBControllerWSClient(); areas = new BindingList <area>(serviceDA.queryAllArea()); for (int i = 0; i < areas.Count; i++) { cbArea.Items.Add(areas[i].description); } }