DataSet XML load and save

D

Dave

Hello.

How can I save the both schema and data XML from DataSet to the string and
then load it in another DataSet form this string?
I found GetXML() and GetXmlSchema() methods, but I need some method which
makes the both action of these methods.

Thank you.
 
M

Mohamoss

hi Dave
why dont you load the XML schema first to the string . then use GetXml to
append to the xml content to the same string like all = all + GetXml()
.better even use stringBuilder . hope this could work
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

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