C# and Dataset from XML

  • Thread starter Thread starter Jason Huang
  • Start date Start date
J

Jason Huang

Hi,

In my C# Windows Form project, I used to get my Dataset and Datareader from
the SQL query string to my SQL Server 2000.
But now I would like to use an XML file as the data source.
Would someone give me some advice?
Thanks for help.



Jason
 
First you need to identify what sort of "XML File" you're talking about. An
XML document can represent literally *any* kind of data in *any*
configuration.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.
 
There is a direct method of DataSet object which is "ReadXml()" .It has
one parameter which is XML file name, and another is Xmlread mode.

This method reads an XML file ans stores it to DataSet.
 
Back
Top