Gridview rowupdating objectdatasource
20-Dec-2019 03:19
If you didn't complete the earlier tutorials, as a starting point for this tutorial you can download the application that you would have created.
You can also download the application that is created by the complete tutorial series.
User ID, First Name and Last Name are template columns and Edit and Delete columns are Command Columns which are added using smart tag option (You can view the smart tag if you right click on the Grid View control).
This tutorial series builds on the Contoso University web application that is created by the Getting Started with the Entity Framework 4.0 tutorial series.
When I click on the Customer all details pertaining to the customer will be displayed on the new page.
Now, Im trying to edit./update the value of the customer details.
When I click on Edit, I go to Edit mode but Update will not work at all. I do believe that it is in the Row Updating method but cannot figure out how to call the method Update Book from the Book Manager BAL.
In this article I will show you how you can use the Object Data Source with the Grid View control to do editing, updating, deleting and adding new records.