开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜