Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Fetching Share Point List data in asp.net webservice

$
0
0

To get data from sharepoint list, I am accessing sharepoint list web service [http:///_vti_bin/Lists.asmx] in my asp.net webservice code as follows:

//CMS_List_Service is web service reference.
CMS_Lists_Service.Lists lstSharePointWebService = new CMS_Lists_Service.Lists();  
//Get data from "Product" list using GetListItems methods of service.
XmlNode nodeProduct = lstSharePointWebService.GetListItems("Product", null, null, null, null, null, null);

By using above code, I get data from sharepoint list but if sharepoint list content paging then "GetListItems" only returns first page data but I want all the data in list.

Please suggest me, what I am missing in "GetListItems" methods.

Please let me know, if require more information. Thanks.




Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>