Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML DataSets files

Status
Not open for further replies.

ofsouto

Programmer
Apr 29, 2000
185
0
0
BR
Hi, dear

I need to save the result of some queries as XML files.
I know that I can use datasets.
I would like to know if it's possible to save these queries in only one XML file.
Is it possible to read and convert this XML file in datasets?

Thank you very much.

Obede
Brazil
 
Yes it is. Have a look at the ReadXML and WriteXML methods of the dataset.

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
I intend to write more than one query in only one XML file.
WriteXML permits write/save only one query.
After write/save XML file I need to read/convert to dataset.

Thank you.
 
WriteXML permits write/save only one query.
It depends what is in your dataset. You could put two queries in different tables and write them both out.

After write/save XML file I need to read/convert to dataset.
That's what the ReadXML method is for.


----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
Thank you ca8msm.
I have solved the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top