ASP.Net GridView control provides a CommandField that enables you to display the Edit, Update and Cancel Command buttons. You can easily attach the GridView events such as RowEditing, RowCancelingEdit and RowUpdating to implement the edit, update and cancel commands of GridView control.
Command Events Used
1. OnRowEditing
2. OnRowCancelingEdit
3. OnRowUpdating
GridView Property Used
1. DataKeys