Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OleDbDataAdapter initialization
Message
From
05/10/2004 16:39:05
 
 
To
All
General information
Forum:
ASP.NET
Category:
Databases
Title:
OleDbDataAdapter initialization
Miscellaneous
Thread ID:
00948930
Message ID:
00948930
Views:
54
I have this VB.NET code:
   ' SQL adapter into a DataSet
   ' expC1 SQL command
   ' expC2 Path of the table
   Private Function VFPSQLAdapterDataSet(ByVal tcSQL As String, ByVal tcTable As String) As DataSet
      Dim loData As DataSet

      loData = New DataSet
      Dim loDT As New OleDbDataAdapter(tcSQL, _
      "Provider=VFPOLEDB.1;Data Source=" + tcTable + ";Password='';Collating Sequence=MACHINE")

      loDT.Fill(loData, "Temp")

      Return loData
   End Function
This used to work ok. A few months ago, I upgraded to Windows XP and had to install everything. Now, the Dim loDT line gives an error by saying that OleDbDataAdapter is not defined. What should I do?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform