DataSet.WriteXml just write changed data?

H

Harry

Hi All,

I use DataSet.ReadXml read data from a xml file and DataSet.WriteXml
write data to the same xml file, it works fine. But I have a
question,if I just change a few of data in this dataset, then
DataSet.WriteXml will just save the changed data in the file,isn't it?
If DataSet.WriteXml doesn't work like this, how should I do in my
scenario, which read lots of data from xml file in the first time,
then just change a few of these data in running but must save changed
data back to file in time?

Thanks
Harry
 

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