Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connectionstring
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01073722
Message ID:
01073850
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform