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
 
Back
Top