Detected changes of selected item on bound combobox

brucelim80

Active member
Joined
Apr 20, 2006
Messages
35
Programming Experience
Beginner
hi can anyone help me with this problem?

I have a VB.net program


One combobox call x is binded to a Bindingsource showing its text
The datasource and the displaymember is set to another dataset.




How do i write a code to detect any changes of the selected item of the combox?

Thank you
 
Last edited:
Firstly, please post in the most appropriate forum, not just the first one. Moved to Windows Forms.

Secondly, your profile says .NET 1.1 but if you're using a BindingSource then you are using .NET 2.0 or above. Please update your profile or specify your version when posting if it's different from your profile.

The SelectedIndexChanged event of the ComboBox is raised whenever the SelectedIndex property changes. The SelectionChangeCommitted event is raised whenever the user changes the selection. The CurrentChanged event of the BindingSource will also be raised when its Current property, which returns the selection in the bound control(s), changes.
 
Back
Top