Can a .csv file be used as a data source in Visual Studio 2008 (C#)?
Posted
by Kevin
on Stack Overflow
See other posts from Stack Overflow
or by Kevin
Published on 2010-03-31T02:40:01Z
Indexed on
2010/03/31
2:43 UTC
Read the original article
Hit count: 370
I'm pretty new to C# and Visual Studio. I'm writing a small program that will read a .csv file and then write the records read to a MS SQL database table. I can manually parse the .csv file, but I was wondering if it is possible to somehow "describe" the .csv file to Visual Studio so that I can use it as a data source? I should mention that the first two lines in the .csv file contain header information and the following lines are the actual comma-delimited data.
© Stack Overflow or respective owner