sincronizing two combo boxes

  • Thread starter Thread starter User
  • Start date Start date
U

User

Hi people,

Excuse if my question is silly, but...

i have 2 combo boxes in my project
they are binded to fields from same table...
one is binded do Code field and another to Description field

i want to sincronize both...

if i change Code combo, the Description combo shows text of description on
it
and if a change description combo scrolling, the other combo (Cod combo)
show the code associated...

any clues?

thanks
 
Hi people,

Excuse if my question is silly, but...

i have 2 combo boxes in my project
they are binded to fields from same table...
one is binded do Code field and another to Description field

i want to sincronize both...

if i change Code combo, the Description combo shows text of description on
it
and if a change description combo scrolling, the other combo (Cod combo)
show the code associated...

any clues?

thanks

Hi,

You can ue the SelectedValueChanged on each combo and update the
other.
You have to be carefull though of not entering in an infinite loop
 
thanks ...


Hi,

You can ue the SelectedValueChanged on each combo and update the
other.
You have to be carefull though of not entering in an infinite loop
 
Back
Top