Gridview rowediting vs rowupdating
Each column represents a field, while each row represents a record.
The Grid View control supports the following features:use Row Editing, Row Updating, Row Deleting, Row Command, Row Data Bound, Row Canceling Edit, and Pagination in a Data Grid.
In addition to that, we’re resetting the Edit Index and Selected Index when the page is changed to avoid cases, for example, where you change pages and are suddenly editing a different item.
For this situation, many developers use invisible columns (Hidden columns) in the gridview to identify that row.
We can achieve the same functionality using Datakeys.
Summary : Usually developers do not use an editable Grid View for many reasons. First fill then create a bool function and go to assemble row editing & updating event.
Developers prefer manual coding but an editable Grid View is a good way to update a database. Step 1Put a Grid View in your aspx page then write code for the page load to fill the Grid View.