Hello.
I have a CSV file, and I want to take it, and use the data in C#
How can I do this?
1 reply to this topic
#1
Posted 04 December 2010 - 10:56 AM
|
|
|
#2
Posted 04 December 2010 - 06:42 PM
Google search returned:
Building a Simple CSV Parser in C# | Switch on the Code
CSV file parser and writer in C# (Part 2) - Random Stuff
Or you could try to simipify and use a stream reader. set each new line on a ';' character. If you are trying to read random csv file parsing them would be best. If you want to work with the data and you know what to expect you could create a strongly typed object which would make it easier to work with.
Hopefully this helps.
Building a Simple CSV Parser in C# | Switch on the Code
CSV file parser and writer in C# (Part 2) - Random Stuff
Or you could try to simipify and use a stream reader. set each new line on a ';' character. If you are trying to read random csv file parsing them would be best. If you want to work with the data and you know what to expect you could create a strongly typed object which would make it easier to work with.
Hopefully this helps.
-CDG10620
Software Developer
Software Developer
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









