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

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
 
A

amir massourian

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top