PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET ADO.NET's WriteXML have difference behaviour between .NET 1.1 and .NET 2.0

Reply

ADO.NET's WriteXML have difference behaviour between .NET 1.1 and .NET 2.0

 
Thread Tools Rate Thread
Old 05-01-2007, 06:06 AM   #1
ABC
Guest
 
Posts: n/a
Default ADO.NET's WriteXML have difference behaviour between .NET 1.1 and .NET 2.0


I have a dataset which contains two tables, one is master and another is
child table with a relation join between tables.

When I use DataSet.WriteXML in .NET 2.0, it shows as:

<aDataSet>
<MasterTable ID="1" ............... />
<ChildTable ID="1" .................. />
...
</aDataSet>

It is not my expected (which used in DataSet.WriteXML on .NET 1.1) as:

<aDataSet>
<MasterTable ID="1" ............... >
<ChildTable ID="1" .................. />
...
</MasterTable>
</aDataSet>



ADO.NET's WriteXML have difference behaviour between .NET 1.1 and .NET 2.0?
How to fix it?




  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off