Re: ADO.NET's WriteXML has BUG!!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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!!


.



Relevant Pages

  • Re: Interview Questions
    ... Hand them a program with a bug in it and watch how they look for it. ... What is a pure virtual function, and why would you use it? ... What is the difference between a pointer and a reference? ...
    (microsoft.public.vc.mfc)
  • Re: Replacing key values with their referenced data records
    ... parent tables and child tables and then use the DataColumn.Expression ... you must include the reference ... Additionally, once I can get it to display properly, I need ...
    (microsoft.public.dotnet.framework.windowsforms.databinding)
  • Re: Closing down a hierarchy of modal windows nicely
    ... another Form, the Owner property is set, but in the context of "Owner" ... is to assign the reference to a field when the child is constructed. ... said how many modals there are. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Display mutliple 1-1 tables in DataGrid?
    ... A column in a child table may be referenced in an expression by prepending ... column named Price in the child table. ... example, if a table has two child tables named Customers and Orders, and the ... the reference would be: ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: (another) infuriating IE bug
    ... I think this is a bug in IE, at least in ECMAScript terms it is a bug. ... undefined error - so f1 is not on the scope chain prior to its ... instructions to assign to a Reference with a null "Base" object by using ... French there is no word for "workaround"; ...
    (comp.lang.javascript)