Gridview rowupdating empty online dating sites medicine hat
The method essentially binds the Grid View with a Data View.The Data View supplies all the records from the Employees table.
The Sorting event handler receives an event argument of type Grid View Sort Event Args.
Here, we store the value of Sort Expression property into a Veiw State variable called sortexpression. Finally, we call Bind Grid() method which will bind sorted version of the Data View with the grid.
We need to access this variable from Bind Grid() method so that our sorting will work correctly under all the circumstances. The following figure shows the Grid View after implementing sorting.