Re: ADO.NET's WriteXML has BUG!!
- From: "Miha Markic [MVP C#]" <miha at rthand com>
- Date: Fri, 5 Jan 2007 09:51:20 +0100
Hi there,
I don't think this is a bug.
DataSet isn't a hierarchical structure - it is a container for tables that might be referenced.
What if child table contains a reference to master table? How would xml then look like?
--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
"ABC" <abc@xxxxxxx> wrote in message news:%23v%23%23lTIMHHA.4888@xxxxxxxxxxxxxxxxxxxxxxx
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, 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>
I think it is one BUG!!
.
- Follow-Ups:
- Re: ADO.NET's WriteXML has BUG!!
- From: ABC
- Re: ADO.NET's WriteXML has BUG!!
- References:
- ADO.NET's WriteXML has BUG!!
- From: ABC
- ADO.NET's WriteXML has BUG!!
- Prev by Date: Re: saving ad-hoc sqlserver scripts via Visual Studio
- Next by Date: Re: Best practice Multiuser Program - locking
- Previous by thread: Re: ADO.NET's WriteXML has BUG!!
- Next by thread: Re: ADO.NET's WriteXML has BUG!!
- Index(es):
Relevant Pages
|