Well, it depends on what functionality you want. If you need a readonly
forwardonly access (for example, configuration files, data exchange
etc.) - XmlReader is the best. Plus validation (by xsd, dtd, xdr) -
XmlValidatingReader. If you need DOM (roughly speaking, tree of nodes in
memory) - XmlDocument. If you want one object for DOM and DataSet -
XmlDataDocument. If you need only load data into DataSet - just use it:
it is able to read xml documents.
Make your choice according to your task
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.