Query a List by using CAML in SharePoint

Posted by Fewlines4Biju on April 21, 2011


Microsoft.SharePoint.SPQuery object has Query property that accepts a CAML fragment, which defines the query to be performed. A ViewFields property defines the fields to return.Code Sample:SPQuery
query = new SPQuery;query.Viewfields
= @"";query.Query
=@"";SPList
list =... [read more]

Rating

not rated

Reviews

There are currently no comments or reviews.

Submit a review:

Login required.