creating a dataset from XmlNode

  • Thread starter Thread starter tim djossou
  • Start date Start date
T

tim djossou

Hi
Is there a simple way to create a dataset from a XmlNode ? or from a string
containing the XML?

Regards
 
Tim,

You should be able to take the XML and pass it to the ReadXml method on
the DataSet class.

Hope this helps.
 
The ReadXml method does not seem to accept a Xml string - The overload which
accept a string expects a filename.
Regards

Nicholas Paldino said:
Tim,

You should be able to take the XML and pass it to the ReadXml method on
the DataSet class.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

tim djossou said:
Hi
Is there a simple way to create a dataset from a XmlNode ? or from a string
containing the XML?

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

XML and Dataset 2
XML parse issue 1
string to XmlNode 3
Slow code in reading xml file 6
WebService -> XML 3
Removing whole Xmlnode 1
How to get the XML path of an XmlNode? 5
XmlNode for dataset xml 1

Back
Top