G
Guest
Hi All,
slight problem I hope someone could shed some light on.
I am using VS 2005.
In a datagridview I have 2 comboboxes that are both bound to a table field
called "empCode". This is an employee code.
I have a lookup datatable which I populate Employees employee code (empcode)
and and employee name.
I then have a dataview and a bindingsource which are bound to this datatable.
I then bind the two combo boxes to the bindingsource (ie they are both bound
to the same BS).
Now, when the user selects a value in the combo box in the datagridview, I
would expect the other combo box to move to the same value and display it.
This does not work however. Can anyone recommend a way?
thanks
slight problem I hope someone could shed some light on.
I am using VS 2005.
In a datagridview I have 2 comboboxes that are both bound to a table field
called "empCode". This is an employee code.
I have a lookup datatable which I populate Employees employee code (empcode)
and and employee name.
I then have a dataview and a bindingsource which are bound to this datatable.
I then bind the two combo boxes to the bindingsource (ie they are both bound
to the same BS).
Now, when the user selects a value in the combo box in the datagridview, I
would expect the other combo box to move to the same value and display it.
This does not work however. Can anyone recommend a way?
thanks