using XML data & DataSet

R

rocio

I'm writting an application that uses as a Database a XML file. The user
queries & modifies this database. But I'm using pure xml DOm for this
purpose, to read & write elements in the XML file.

I know I can load this XML to a dataset and do the same things but now
working with a Dataset.
My question is: what is more efficient? Working with pure XML is a little
bit slow, but I'm just wondering what are your thoughts in this issue.
 
W

William Ryan

I use DataSet.Read and DataSet write all the time and unless you are
dealing with a ton of data, its performance is ok. It's also very easy to
use System.Data OBjects to bind controls and the like, and as a methodology,
it's very easy to manipulate...

HTH,

Bill
 
R

rocio

Thanks!
I was using DOM but the display of the data was too slow....so I switched to
XmlTextReader and store all my data in classes that I pass back and forth
between my forms. Now I can display data much faster.

Rocio
 

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

Similar Threads


Top