How to query data from multiple lists in SharePoint

I have several SharePoint lists and want to display data from them on a gridview control.

I beg you, please.

Grace

+3
source share
3 answers

Two options that I can think of:

+2
source

Your question inspired me to develop a web part that demonstrates:

  • How to request SharePoint data in many ways the API offers and
  • How to snap it to a grid view.

CodePlex. , , . :

  • ( )
  • GetListItems - ""
  • SPQuery SPList
  • SPSiteDataQuery
  • CrossListQueryInfo -
  • PortalSiteMapProvider SharePoint Server

, -.

, . , , CodePlex, .

+11
+2
source

Source: https://habr.com/ru/post/1716799/


All Articles