Can anyone tell the function to sort the columns of a gridview in c# asp.net.
The databound to gridview is from datacontext created using linq. I wanted to click th
In the Properties Panel double Click on the Sorting Entry. A new Function will be created. In this Function write the Code to fill the Gridview. The only difference is to change the query based on GridViewSortEventArgs e
e.SortExpression
and
e.SortDirection allways Ascending :-(
I hope this very short Answer helps