I have a windows application where in one of the forms, I have two combo boxes. Both the combo boxes are filled with the same data. (e.g. A, B, and C as data items). The data comes from the database and is the bound to these combo boxes.
What I want is that if I select A in combo box 1, 'A' can not be selected in combo box 2 and vice versa. That is, same item can not be selected in both combo boxes unless there is only one item in the combo boxes.
Can anyone please guide me on how to achieve this ?
A pseudo code or a direction would be greatly appreciated.
Thanks.