ReadXML method is very slow

  • Thread starter Thread starter Leonardo Ivan Torres Ochoa
  • Start date Start date
L

Leonardo Ivan Torres Ochoa

Hello.
I have an file XML of 24MB , so I invoke a ReadXML method, but is very
slow...
I read article about BeginLoadData method it is more better, i need some
samples
about this...

Thank you for you help..

Leonardo Torres
 
It's recommended that XMLTextReader should be used to read
large XML files. It's designed to provide fast, non-
cached, forward-only access to XML data.

Check the following link.
http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpref/html/frlrfsystemxmlxmltextreaderclasstopic.asp

HTH,
Suresh.
 

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

Back
Top