Re: How do I speed Up dataset.ReadXML????????
From: Ignacio Machin \( .NET/ C# MVP \) ("Ignacio)
Date: 07/01/04
- Next message: Robert Hanson: "Causing a dropdown list to expand via code in PPC??"
- Previous message: CEDevice_Brian: "Re: How do I speed Up dataset.ReadXML????????"
- In reply to: CEDevice_Brian: "Re: How do I speed Up dataset.ReadXML????????"
- Next in thread: CEDevice_Brian: "Re: How do I speed Up dataset.ReadXML????????"
- Reply: CEDevice_Brian: "Re: How do I speed Up dataset.ReadXML????????"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 1 Jul 2004 14:32:49 -0400
Hi,
Try my suggestion, using a text file where the separator is a control char,
20 for example, that avoid having to process the fields looking for
embedded comma inside the values.
also maybe in your case with so many records if you need to convert to
numeric values it may be faster ( but not elegant ) keep them as string and
convert them in the spot.
just let me know if you need the code for this.
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "CEDevice_Brian" <CEDeviceBrian@discussions.microsoft.com> wrote in message news:2D0BC144-6389-4DC7-AE2A-3B2DE0C3B7FC@microsoft.com... > I'm now creating a CSV with 11,000 records, 20 fields per. > > Code used is > csvDA = New OpenNETCF.Data.CSV.CSVDataAdapter(csvFile, True) > 'fill dataset from csv > csvDA.Fill(XREFDataset, tName) > > > It's been going for over 15 minutes now. > > What am I doing wrong?????
- Next message: Robert Hanson: "Causing a dropdown list to expand via code in PPC??"
- Previous message: CEDevice_Brian: "Re: How do I speed Up dataset.ReadXML????????"
- In reply to: CEDevice_Brian: "Re: How do I speed Up dataset.ReadXML????????"
- Next in thread: CEDevice_Brian: "Re: How do I speed Up dataset.ReadXML????????"
- Reply: CEDevice_Brian: "Re: How do I speed Up dataset.ReadXML????????"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|