How to Create a webpart using client object Model and get the current site,loop through the List and Libraries get the documents which are uploaded by today & yesterday
views:
11answers:
1
A:
If using the object model is important, the SPSiteDataQuery class may fit the bill. This allows you to query for the items of interest within a site collection. A query like this will be faster and more robust than manually iterating through the lists and libraries via object model. There are some good examples on MSDN.
Jason Weber
2010-07-29 17:04:49