I am loading Combobox 1 with customer codes on teh form load.
Now in the event where the index is changed I want to load Combobox2 using the information that was selected in ComboBox 1
on form load combobox1 is populated with customer code names
when a user selects a customer code name combobox2 will be populated with all the order numbers and then when the user selects the order number it will populate the rest of my form according to the values in combobox 1 and combobox 2
But I get this error.
"There is already an open DataReader associated with this Connection which must be closed first."
I can get around this error if I have a button that loads the rest of the form. But I rather load the rest of the form once Combobox2 item is selected