Possible Duplicate:
how to delete row from datagridview with a delete button?
I have System.Windows.Forms.DataGrid. How to delete selected row by delete button click? Selected row, not when cursor in cell!!!!!
If I click delete key on selected row it removes row immediately. I want to show dialog box here to confirm.
Thanks!
Here is the code for one that will raise an event to let you the user is about to delete a row.