hkarthik 0 Light Poster

Hi,

I am having a problem with datagridview. I have added a datagridview to my form, which consists of two columns. Two columns have combobox(ie datagridviewcombobox) added to it. So now i have the 2 fields with combo boxes.

After adding these 2 combobox through the dgv's property column-collections, i have set a display member and value member for both the combobox inside dgv.

The display member and value member is set in such a way that.. the value member of the 1st combobox is the display member of the 2nd combobox and vice versa..

So what i want to do is when a value is selected from the 1st combobox, looking at the value's value member, the 2nd combobox's value should be selected and vice versa...

How to do this?

Any kind of help would be really appreciated.


I am doing the coding in VB.net 2005

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.