GridView displays the Edit Form in edit mode. The data row currently being edited is not displayed. The Edit Form displays edit cells corresponding to a data column, and allows the values within this row to be changed. To learn more, see the Edit Form topic.
Edit Form and Display Row
Equivalent to Edit Form mode, but the currently selected data row is displayed above the edit form.
GridView displays the In-Line Edit Row instead of the selected data row. The edit row displays edit cells that correspond to visible data columns.
GridView maintains all user changes on the client side until the Save changes link (the Updatecommand) is clicked, or all changes are canceled by clicking the Cancel changes link (the Cancelcommand). To learn more, see Batch Editing.
The code sample below demonstrates how to specify the edit mode for the ASP.NET MVC GridView extension.