Quantcast
Channel: Faster way of reading csv to grid - Code Review Stack Exchange
Browsing all 6 articles
Browse latest View live

Answer by Dan Lyons for Faster way of reading csv to grid

I am assuming it is OK to load everything into memory all at once, since you are doing that with the grid anyways. The fastest simple option I see is loading the data into a data object and binding it...

View Article



Answer by Bobson for Faster way of reading csv to grid

We use the GenericParser library. It's pretty easy to use, too. Your code would look something like this:GenericParserAdapter parser = new GenericParserAdapter(fName);parser.ColumnDelimiter =...

View Article

Answer by Paul Turner for Faster way of reading csv to grid

A few thoughts that could improve speed up what you're doing:Use parallel processing to process multiple lines simultaneously. If you've got a multi-core machine, this would go some way to offloading...

View Article

Answer by Ekkehard.Horner for Faster way of reading csv to grid

What's the use of presenting even 5,000 records to the user? Do you expect a user to scroll to row 4711, look at "18912,N", and say "Strange, why wasn't there a '12345,N' in row 1234?", or...

View Article

Answer by Sven for Faster way of reading csv to grid

There isn't much to optimize in regards to speed, but following is much more readable. If it is too slow, it probably isn't the method reading the file, but your WinForm that needs to display >30k...

View Article


Faster way of reading csv to grid

I have following in Windows Forms .NET 3.5It works fine for csv with records less than 10,000 but is slower for records above 30,000.Input csv file can can any records between 1 - 1,00,000 records Code...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images