Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OleDbDataAdapter initialization
Message
De
05/10/2004 16:39:05
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
OleDbDataAdapter initialization
Divers
Thread ID:
00948930
Message ID:
00948930
Vues:
55
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform