Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connectionstring
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01073722
Message ID:
01073850
Views:
15
>Hi,
>
>I try to read some .csv files into a dataadapter. My CSV files don't have any columninfo in the first row, so I also want to have the first row.
>
>Can anybody give me the right connectionstring to open an csv file? Right now I use the following connectionstring:
>
>"Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=c:\myfiles\;Extended Properties='text;HDR=NO;FMT=Delimited'"
>
>Thanks,
>Sander Bouwmeester

I've not used CSV files via that manner, but is the syntax correct, can you actually use "Extended Properties" for the Microsoft Text Driver (ODBC)? Don't you have to use OLE DB (Provider=Microsoft.Jet.OLEDB.4.0)?

www.connectionstrings.com
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform