Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Writing records from xml file into dataset

1 view
Skip to first unread message

Deshi

unread,
May 6, 2008, 12:59:08 AM5/6/08
to
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 :-)

Mark Rae [MVP]

unread,
May 6, 2008, 5:42:13 AM5/6/08
to
"Deshi" <des...@gmail.com> wrote in message
news:51f9c0e4-0a22-4618...@c19g2000prf.googlegroups.com...

Is this a one-off exercise, or something you need to do on a regular
basis...?


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Deshi

unread,
May 8, 2008, 3:02:23 AM5/8/08
to
On May 6, 2:42 pm, "Mark Rae [MVP]" <m...@markNOSPAMrae.net> wrote:
> "Deshi" <desh...@gmail.com> wrote in message

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...

0 new messages