J
jeff via .NET 247
I'm using the following connection string to read in a CSV...
OleDbConnection connection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + fileInfo.DirectoryName + ";" + @"Extended Properties=""text;HDR=NO;FMT=Delimited""");
and the rest of my code being pretty close in structure to the CSV reader Don XML posted on his blog here:
http://weblogs.asp.net/donxml/archive/2003/08/21/24908.aspx
I've tried various incarnations and incantations but have yet to read the first row of the CSV as anything other than column headers. Suggestions?
thanks in advance,
j
OleDbConnection connection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + fileInfo.DirectoryName + ";" + @"Extended Properties=""text;HDR=NO;FMT=Delimited""");
and the rest of my code being pretty close in structure to the CSV reader Don XML posted on his blog here:
http://weblogs.asp.net/donxml/archive/2003/08/21/24908.aspx
I've tried various incarnations and incantations but have yet to read the first row of the CSV as anything other than column headers. Suggestions?
thanks in advance,
j