We also need force databinding to occur when then page is loaded, which we’ll handle in Page_Load.
The Grid View 'Grid View1' fired event Sorting which wasn't handled.
The Grid View 'Grid View1' fired event Row Deleting which wasn't handled. When I say manually databinding I mean not using a data source control specified as a Data Source ID, but rather setting the Grid View’s Data Source equal to the appropriate data object and calling Data Bind. NET 2.0 are familiar with how to deal with this, but since ASP.
We’ll start with binding data to the Grid View, then build up functionality from there.
First, we’ll implement a method to databind the Grid View, which will be called whenever databinding needs to be performed.
My goal is to update the one row at the time with a button which is in the same row which calls the following Method.