DataSet or Classes

R

Ruslan

I must work with the xml files. Load data from xml, change it, save it. What
is the best idea? To use ADO.NET, I mean to load data from xml to DataSet,
or create classes and work with these classes (something common with
"Castor").





Thanks,



Ruslan
 
K

Kathleen Dollard

Ruslan,

It depends.

Are you familiar with DataSets and does your data map easily to them?

If so, use the DataSet.It's a great interface. However, it won't handle all
XML data structures.

A good alternative is the XML DOM.

Kathleen
 

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