Sorting Generic Lists and IQueryable's With A Dynamic Property Name

by Bar Zohan 5. April 2010 21:12
For sorting IQueryable's [code:c#] public enum SortDirection { Ascending, Descending } public static IQueryable<T> DynamicSort<T>(this IQueryable<T> data , string columnName, SortDirection direction)        {      ... [More]

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen