Gridview rowupdating not firing updatepanel do ron and hermione dating in the half blood prince
For example, you can set the Command Name property to Sort and set the Command Argument property to Ascending to specify a command to sort in ascending order.
Command Name: Command Name property to determine the command to perform.
In case you skimmed the rest and got down here wonder what I'm looking to do, I'm just looking for a complete example of a Grid View configured in the Code Behind.
Just a simple Grid View Data Binding to a SQL database with Editing/Updating, Sorting and Paging.
This Article explains how to use the Row Command Event in a Gridview.