Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble importing Excel 2007 files
Message
De
30/08/2010 08:09:07
 
 
À
28/08/2010 09:13:31
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Divers
Thread ID:
01479018
Message ID:
01479189
Vues:
54
Hi Kevin.

I got the problem solved. It was the connection string:

ConnString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source="
ConnString &= ExcelFileName & " ;Extended Properties=" & Chr(34) & "Excel 12.0;HDR=NO;" & Chr(34)

The double quotes around the extended propertied were required.

Informative error message, huh?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform