开发者

how to do the webpart to list the items(doc,lib) available in current site in sharepoint 2010

开发者 https://www.devze.com 2023-01-09 00:35 出处:网络
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 If using the

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消