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

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 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>