SharePoint: How to get Top 5 records by using CAML query from a list

前端 未结 3 1988
耶瑟儿~
耶瑟儿~ 2021-01-17 08:45

I have already created a webpart to show the data from list, but I really want is to only show top 5 records from that list (by using CAML query).

Does anyone know h

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-17 09:03

    If you want to construct other simply caml queries try this tool. http://www.camldesigner.com/

    P.s. tool doesn`t construct a "paginate" caml queries with SPListItemCollectionPosition.

提交回复
热议问题