Writing a dataset to XML via a datadocument only writes one record?

  • Thread starter Thread starter James Ankrom
  • Start date Start date
J

James Ankrom

Why does writing a dataset to XML via a datadocument only write one record?

Dim DatasetXML As New System.Xml.XmlDataDocument(mDataset)

DatasetXML.Save("c:\\temp\\xmldoc.xml")


I have 4 tables and lots of data. dataset.writexmlschema writes a schema.
dataset.writexml only writes one record. help?!


-jim
 
Do you do any RejectChanges before write the data?
What is the row count in each DataTable?
also could you please tell us what version you are using and give us a small
sample to reproduce this issue?
 
Back
Top