Xml File Reading Issue

B

barry

Hi

I am trying to read a large xml file (about 69mb in size) using ReadXML()
method of DataSet, it takes very long to do so, i there some other way to
read such large XML files.

TIA
Barry
 
M

Mike Urquiola

You can use an XmlTextReader, which should be much faster, since it is
stream based. Give it a stream and read through it. It is perfect for a
foward only read through, not so good if you need to do XPath, or forward
and backward reading.
 

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