Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Star
13403 Points
2531 Posts
May 14, 2012 04:24 AM|LINK
<<My least favourite editor in the entire know universe ate most of my reply. >>
The Where and OrderBy clauses return a result and you are not saving the result. Change the Where clause so it saves the result
_Countries = _Countries.Where(...)
Normally you would roll the OrderBy in to the Select clause as I have in my previous reply.
Paul Linton
Star
13403 Points
2531 Posts
Re: IQueryable
May 14, 2012 04:24 AM|LINK
<<My least favourite editor in the entire know universe ate most of my reply. >>
The Where and OrderBy clauses return a result and you are not saving the result. Change the Where clause so it saves the result
_Countries = _Countries.Where(...)
Normally you would roll the OrderBy in to the Select clause as I have in my previous reply.