Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program slow
Message
De
09/08/2004 16:19:19
 
 
À
09/08/2004 12:34:11
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00931780
Message ID:
00931865
Vues:
16
i am trying your way, but i am having a little difficulty.

I am trying to load an excel spreadsheet into a dataset and I keep getting the error database or object is readonly. The spreadsheet is not your typical database layout, so i don't know if that has anything to do with it or not. below is my basics. thanks for the help.
sConnStr = "provider=Microsoft.Jet.OLEDB.4.0; " & _
                                        "data source=" & strDatabase & "; " & _
                                        "Extended Properties=""Excel 8.0;HDR=NO;ReadOnly=False;"""

OpenConnection() ' works great
CreateAdapter()  ' works great
CreateDataSet()  ' works great
DataAdapter.Fill(DataSetObject, DataTableName)  ' error
CloseConnection() ' works great
Randy Belcher
AFG Industries, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform