Everything gets complicated as they optimized the DataGridView with only one edit control for all rows. Here's how I dealt with a similar situation:
First connect the delegate to the EditControlShowing event:
myGrid.EditingControlShowing += new DataGridViewEditingControlShowingEventHandler( Grid_EditingControlShowing); ...
Then in the handler, connect to the EditControl SelectedValueChanged event:
void Grid_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { ComboBox combo = e.Control as ComboBox; if (combo != null) {
source share