revisando el codigo en esta parte tienes
Código vb:
Ver originalPrivate sub dgDatos_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) Handles dgDatos.EditingControlShowing
* * *
* * *If TypeOf e.Control Is DataGridViewComboBoxEditingControl Then ' Validando si el control es de tipo combobox edit
* * * *
* * * * If e.ColumnIndex = 0 ' Valida si el index es igual al combo primario en donde vas a realizar el filtro
* * * * Dim CellTextBox As DataGridViewComboBoxEditingControl = TryCast(e.Control, DataGridViewComboBoxEditingControl)
* * * * RemoveHandler CellTextBox.SelectionChangeCommitted, AddressOf CellTextBox_SelectionChangeCommited
* * * * AddHandler CellTextBox.SelectionChangeCommitted, AddressOf CellTextBox_SelectionChangeCommited
* * *End If
* * *End If
* * *
End Sub