Data Insertion
From: Dave (anonymous_at_discussions.microsoft.com)
Date: 03/24/04
- Next message: Fredrik Gjärdman: "Problem with SQLOLEDB and iis 6 - threading?"
- Previous message: Jack Jackson: "Re: A order by issue"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Mar 2004 01:56:07 -0800
Hi All,
I am working with C#, SQL CE and ADO.net using the .net compact framework on a PDA.
I need to populate quite large tables from XML.
Initially I just used Dataset.ReadXML but this quickly ran into memory problems with large amounts of data.
I am now using XmlTextReader to read the data in piecemeal fashion.
It has been suggested to me that I read a single record from the XML and then insert each record one by one and work my way through the XML.
This seems far too clumsy.
I would rather extract a certain amount of data to a dataset and then update the table regularly.
Is this possible or is there another simpler more efficient way of adding the data?
Thanks,
Dave
- Next message: Fredrik Gjärdman: "Problem with SQLOLEDB and iis 6 - threading?"
- Previous message: Jack Jackson: "Re: A order by issue"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|