Community

Handle GridView.OnSorting() and create sorting expression dynamically using LINQ

(Alexander M. Batishchev) The GridView control from ASP.NET 2.0 is great and widely used but has a significant limitation: the sorting event argument GridViewSortEventArg is string-based and is based on values in markup. So it can’t be directly used in programmatic sorting using LINQ.

Read More - Register for Free Membership