Combobox text changed

  • Thread starter Thread starter Ivan Jericevich
  • Start date Start date
I

Ivan Jericevich

I am using the Combo box with data binding. with a list of names. When a new
name is selected I am using the Text Changed property to pick up the new ID
with Tag which updates the data for the selected new name.
when the text changes it is supposed to read the desired ID in the tag
property which it does, however it reads the current displayed selection
before the change instead of after the change. How do I get this to work
after the change?
 
I am using the Combo box with data binding. with a list of names. When a new
name is selected I am using the Text Changed property to pick up the new ID
with Tag which updates the data for the selected new name.
when the text changes it is supposed to read the desired ID in the tag
property which it does, however it reads the current displayed selection
before the change instead of after the change. How do I get this to work
after the change?

i sugess you to use the property DisplayMember, for the text,
ValueMember for the ID, and the event SelectedIndexChanged
 
Back
Top