SharePoint for Developers: 3.3 Hands-on - querying lists
The best way to get data from SharePoint lists is to query them. Using queries you guarantee that only list items you really need are retrieved from database and constructed to objects by SharePoint. Most of the time you don't need the full collection of list items, so it is not point to ask all the items and then use only few of these. Let's see how we can query SharePoint lists.
NB! This blog is moved to gunnarpeipman.com
Click here to go to article