Popular Articles
Last viewed:
- Data Access Layer using SqlDataReader and C#
- GridView ObjectDataSource LINQ Paging and Sorting
- Tutorial for Configuring Silverlight 4, Entity Framework and WCF RIA Services in Separate Component Assemblies (DLL’s)
- ASP.NET CSS Highlight TextBox on Focus
- Fixing Relative Paths in C# ASP.NET When Using Url Rewriting
- Launch URL in Default Browser using C#
Recent comments
- jkll
14 hours 51 min ago - Thank You
1 day 14 hours ago - Another approach
3 days 15 hours ago - Issue
4 days 5 hours ago - thanks
4 days 15 hours ago - Calendar date time
4 days 21 hours ago - Nice Explanation
5 days 1 hour ago - ramya
1 week 22 hours ago - thank a lot
1 week 1 day ago - Very useful, but...
1 week 4 days ago

Another technique for getting around this issue
In my case I was working with an API that returned an List of some object. I had a predictably small data set and simply wanted to use Linq to objects to implement sorting and filtering against the ArrayList.
I had done this in the past by using the Anonymous methods and it worked fine in this scenario (note you would not want to do this with large data sets).
After running the Linq sort operation I called the toList and used the List as my data source rather then the IQueryable.