By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,896 Members | 1,997 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,896 IT Pros & Developers. It's quick & easy.

Problem with WriteXml in DataSet

P: n/a
I have typized DataSet. I can add to this dataset whatever i want but
some specific date isnt writed to xml file after i make WriteXml. When
i add row in code (not by hand in datagridview) it wont be Write to
xml. If i add realy long string to string column in a table, it wont be
write to xml. I dont know how to fix it becouse this method dont throw
any exceptions! And i dont know what is wrong.
Ty for any help.

Sep 26 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,

ta*****@tlen.pl napisał(a):
I have typized DataSet. I can add to this dataset whatever i want but
some specific date isnt writed to xml file after i make WriteXml. When
i add row in code (not by hand in datagridview) it wont be Write to
xml. If i add realy long string to string column in a table, it wont be
write to xml. I dont know how to fix it becouse this method dont throw
any exceptions! And i dont know what is wrong.
Ty for any help.
I've been using DataSet.WriteXml and .ReadXml without any
problems. Did you use any of the XmlWriteMode settings?
If "new rows" were not written the you can try to call
DataSet.AcceptChanges(), but as i remember that was not
necessary.

cheers!
Marcin
Sep 26 '06 #2

P: n/a
I've been using DataSet.WriteXml and .ReadXml without any
problems. Did you use any of the XmlWriteMode settings?
If "new rows" were not written the you can try to call
DataSet.AcceptChanges(), but as i remember that was not
necessary.

cheers!
Marcin
I didnt use Mode's. But why u should ??
With or w/o Acceptchanges it is same problem :/
Still dont know what is wrong :(

Sep 26 '06 #3

P: n/a
ta*****@tlen.pl napisał(a):
>I've been using DataSet.WriteXml and .ReadXml without any
problems. Did you use any of the XmlWriteMode settings?
If "new rows" were not written the you can try to call
DataSet.AcceptChanges(), but as i remember that was not
necessary.

cheers!
Marcin
I didnt use Mode's. But why u should ??
With or w/o Acceptchanges it is same problem :/
Still dont know what is wrong :(
Could you give me your "adding row" code and DataSet
specification?

Marcin
Sep 26 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.