J
Jim Heavey
If you have a comboBox which has it's DisplayMember and ValueMenber bound
to a datatable.
If I know the "ValueMember" value - is there a way for me to set
the index of the control to correspond to that ValueMember without having
to iterate over the values in the control to find the index of the matching
value menber?
There is a "FindString" method of the ComboBox which apparently iterates
over the collection looking form a match on the "DisplayMember", but there
does not seem to be a method which works on "ValueMember". Is that
correct?
to a datatable.
If I know the "ValueMember" value - is there a way for me to set
the index of the control to correspond to that ValueMember without having
to iterate over the values in the control to find the index of the matching
value menber?
There is a "FindString" method of the ComboBox which apparently iterates
over the collection looking form a match on the "DisplayMember", but there
does not seem to be a method which works on "ValueMember". Is that
correct?