In this sample I used a TemplateField with an ItemTemplate containing a CheckBox server control to build the first column of the GridView. You can select a row by clicking anywhere on the row or by checking the checkbox.
I have also added to the web page a JavaScript using the RegisterClientScriptBlock method to prompt you for confirmation before proceeding with the delete.