J
John
I use dataSet.ReadXml(xmlFileName) to read in the following xml file:
<Factory>
<Group Name="Group1" />
</Factory>
After read it in, in the debug window, it tells me that there are two rows
in the table instead of one which is correct. Then I call
dataSet.WriteXml(xmlFileName) and the xml file becomes the following,
<Factory>
<Group Name="Group1" />
<Group Name="Group1" />
</Factory>
What is wrong with my code/xml schema? Please help. Thanks.
<Factory>
<Group Name="Group1" />
</Factory>
After read it in, in the debug window, it tells me that there are two rows
in the table instead of one which is correct. Then I call
dataSet.WriteXml(xmlFileName) and the xml file becomes the following,
<Factory>
<Group Name="Group1" />
<Group Name="Group1" />
</Factory>
What is wrong with my code/xml schema? Please help. Thanks.