O'Reilly logo

Sams Teach Yourself SharePoint® 2010 Development in 24 Hours by Vinu Santhakumari, Manpreet Singh, Sohail Sayed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Performing List Data Querying and Manipulation

Hour 7, “Understanding SharePoint 2010 Server Side Development,” looked at how to query and manipulate data in lists using the object model—the SPList and SPListItem class. While this is good for a simple scenario, this is not the best way to query and edit data in lists. This section shows other better and recommended ways to do the same.

Querying List Data Using CAML

CAML (Collaborative Application Markup Language) is an XML-based query language used in conjunction with the SPQuery and SPSiteDataQuery classes to perform data operations on SharePoint lists. While the SPQuery class is used to retrieve data from a specific list, the SPSiteDataQuery class is used to retrieve data from multiple lists ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required