Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to specifiy DataTable in DataSet for WriteXML
Message
From
23/10/2002 02:57:38
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00714223
Message ID:
00714241
Views:
11
>Hi Arnold,
>
>A method to do WriteXML on one Datatable doesn't exist right now. One of the workarounds will be to use the Copy method of datatable to make a copy of the table and add it to a new dataset and do a getxml on that new dataset.
>
>
>DataSet orgDS = new DataSet();
>orgDS.Tables.Add(ds.Tables[0].Clone());
>orgDS.WriteXml("myXmlDoc.xml");
>
>
>>Hi
>>
>>I want to specify DataTable from DataView for WriteXML (Rather than whole DataSet includes several DataTables)
>>Is it possible ?
>>
>>Thanks for any comment in advance
>>
>>Arnold

Dear Cathi

Thanks for your help

Arnold
Previous
Reply
Map
View

Click here to load this message in the networking platform