kimprogrammer
Programmer
Hello
I have three comboboxes set up -divison,department,employee - when I select either divison or division and department I populate the employee combobox with a tableadapter and a parameter.
Now that I'm doing my testing if I select division my employee combobox is populated. But it I go back and reselect a division my employee combobox still has the employee. I would like to clear these
I have found .items.remove(selectedindex) but I'd like to clear them all. I thought maybe something like a removerange but have not found anything about this.
How is this done?
I have three comboboxes set up -divison,department,employee - when I select either divison or division and department I populate the employee combobox with a tableadapter and a parameter.
Now that I'm doing my testing if I select division my employee combobox is populated. But it I go back and reselect a division my employee combobox still has the employee. I would like to clear these
I have found .items.remove(selectedindex) but I'd like to clear them all. I thought maybe something like a removerange but have not found anything about this.
How is this done?