Writing records from xml file into dataset

Discussion in 'ASP .Net' started by Deshi, May 6, 2008.

  1. Deshi

    Deshi Guest

    Hi All,

    I have an XML file with 50000 records, when i am trying to write into
    DataSet through DataSet.ReadXml("C:\..\Customer.xml"). It takes more
    than 30 minutes to write all records into DataSet. This affects lot
    on my application performance. Is there any alternative to increase
    the performance & reduce the time taken for writing...

    Thanks in advance :)
     
    Deshi, May 6, 2008
    #1
    1. Advertisements

  2. Deshi

    Deshi Guest

    Hi mark,

    Now it seems to be bit ok with the performance, I am using
    XmlTextReader API to read nodes comparativelly its much faster than
    DataSet.ReadXml()

    Regards,
    Deshi...
     
    Deshi, May 8, 2008
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.