I have added a ButtonColumn in my DataGridView. Now I need to work on this control meaning I want to do some action on clicking on this button. How do I go proceed? THank you.
Printable View
I have added a ButtonColumn in my DataGridView. Now I need to work on this control meaning I want to do some action on clicking on this button. How do I go proceed? THank you.
This is from the MSDN help topic for the DataGridViewButtonColumn class:I can't think of a good reason that that would not be the first place you'd look.Quote:
To respond to user button clicks, handle the DataGridView.CellContentClick event.