I have a standard DataGridView, and my last column is a DataGridViewComboBoxColumn.
I would like to add an event so that when the selected index of any of the rows in that column changes, an event is triggered and I save that data to db.
I'm struggling with this for an hour or so and couldn't find any event that would trigger this...
Any help would be appreciated!!!
In the
EditingControlShowingevent of theDataGridViewattach a method to the comboboxSelectedIndexChangedevent.For example:
Now in the below method you can do whatever you want: