Hi Kevin,
Writing to XML from a DataTable is a feature in ADO.NET 2.0 to be released in VS 2005.
>Hi, Jerry,
>
>I don't know if you can write a single datatable to an XML file, but you can write the entire dataset to an XML file, like so...
>
>
>MyDataSet.WriteXml("myxml.xml");
>
>
>You can check the WriteXml function in the help file for more details...
>
>Kevin
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi