Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Filter SPListItemCollection with LINQ

$
0
0
Hi, what is the best way to filter an SPListItemCollection, can I use LINQ? I would like to get the title of the 5 last documents. thanks

// Get the items
SPListItemCollection collListItemsDest = web.Lists["Documents"].Items;



Viewing all articles
Browse latest Browse all 11508

Trending Articles