Read CSV file for OLEDB

  • Thread starter Thread starter Grey
  • Start date Start date
G

Grey

how to read a csv file with OLEDB...can anyone provide the connectionstring??

Million thanks
 
Hi Grey,
how to read a csv file with OLEDB...can anyone provide the
connectionstring??

Million thanks

I found something like this:

Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\txtFilesFolder\;Extended
Properties=""text;HDR=Yes;FMT=Delimited"""

("HDR=Yes;" indicates that the first row contains columnnames, not data)

My sources:

http://www.connectionstrings.com/
http://support.microsoft.com/defaul...s/Q262/5/37.ASP&NoWebContent=1&NoWebContent=1
http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm

Cheers!

Marcin
 
Back
Top