Click here to Skip to main content
15,892,161 members
Articles / Web Development / ASP.NET

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

Rate me:
Please Sign up or sign in to vote.
4.90/5 (16 votes)
18 Jul 2014CPOL1 min read 102.4K   963   24  
How to create a sorting expression from GridViewSortEventArgs using LINQ Expression Tree.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
.NET developer and architect

Comments and Discussions