I’m having an issue where my SelectedValueChanged() event, on a ComboBox, is being triggered during the loading of my Windows Form application. Currently, I also have a Form_Load() event that is loading several ComboBoxes including this one, using OleDbDataAdapters/DataTables/Fill(), etc.
I’m assuming that because of my Form_Load() method, the SelectedValueChanged event is being triggered due to the data of the ComboBox being filled.
Why is this happening?
In the form Load event before loading the items to the comboBox, unsubscribe for the event. After binding data subscribe to the event again.