Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

converting xml string to dataset

Status
Not open for further replies.

Eli20

Programmer
Oct 30, 2003
119
MX
hi, i am trying to make a webservice that gets an xml file from a web app and creates a dataset from it, so i can update a database from it.

im sending the xml as string (id like to know if there is any limitation on the size my string have)

and then im trying to create an xmlDocument, so i can populate a dataset from it, but it crushes all the time.

can anybody show me a way to do it??

i just need to populate a dataset from a xml string.

thank You very much

Eli
 
Look into the [DataSet].ReadXml() method. This should be all that you need.

-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
 
i tried that, but it needs a XmlTextReader, or an url location. i tried using the reader, but i need a context, and i have no idea how to do it.

can anyone help me please

thank you very much

Eli
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top