I have found that if I set a DataGridView's EditMode property to EditOnEnter then the user cannot select an entire row by clicking on the row header. This prevents the user from being able to delete a row.