I have SharePoint list data and I got that data from My SharePoint List in XML Node format as follows

XmlNode nodeListItems = listService.GetListItems(listName, "", ndQuery, null, rowLimit, null, "");

Please help me how to convert this data into dataTable or dataSet


If GetListItems returns SPListItemCollection than you can use SPListItemCollection.GetDataTable() method

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.