Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program slow
Message
From
09/08/2004 16:19:19
 
 
To
09/08/2004 12:34:11
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00931780
Message ID:
00931865
Views:
18
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform