Link to home
Start Free TrialLog in
Avatar of Craig Yellick
Craig YellickFlag for United States of America

asked on

Handling DataGridViewComboBoxColumn or BindingSource events

I need to know when the user changes the selection in a DataGridViewComboBoxColumn control. The DataGridView control is bound to a DataTable through a BindingSource and TableAdapter.

It seems to me that the BindingSource should be right place to attach an event handler, since it should know when changes are being made.  I can detect a change in the DataGridView's CellValueChanged event but it's awkward and doesn't seem like the best approach.

-- Craig
ASKER CERTIFIED SOLUTION
Avatar of Sancler
Sancler

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Craig Yellick

ASKER

Thanks. I think you are correct about the level of detail that the currency manager knows about the UI events. I keep thinking that by now the Windows Forms UI subsystem would have a more natural mapping to a model-view-controller design.

-- Craig