convert sharepoint webservices output xmlnode to dataset
Hi,
Working on moss 2007. I am working on sharepoint usergroup webservices to retreive all usergroups from sharepoint site by using the GetAllUserCollectionFromWeb method which returns the output in xmlnode format. can you please help me how to convert
this xmlnode to dataset.
here is the code.
webreferencename.UserGroup usrgrpService = new webreferencename.UserGroup();
usrgrpService.Credentials =
System.Net.CredentialCache.DefaultCredentials;
XmlNode result = usrgrpService.GetAllUserCollectionFromWeb();
MessageBox.Show(result.OuterXml);
its very urgent please me
November 3rd, 2010 10:37am
hi Team,
can you please reply to my above post its very urgent
thanks,
Free Windows Admin Tool Kit Click here and download it now
November 5th, 2010 9:15am
This should be enough for you to work it out. http://www.theserverside.net/tt/blogs/showblog.tss?id=WSRetrieveData Its an old example, but should suffice. You can iterate the XML returned from the webservice and manually build the datatable for the dataset,
as shown in this old posting. http://www.velocityreviews.com/forums/t102660-building-a-dataset-without-a-database.html Please post any follow-up questions to a dev forum as you'll get a better response. Regards John Timney
November 5th, 2010 10:33am