DataSet or Classes

  • Thread starter Thread starter Ruslan
  • Start date Start date
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
 
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
 
Back
Top