Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting empty cursor
Message
De
21/01/2005 14:47:50
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Detecting empty cursor
Divers
Thread ID:
00979412
Message ID:
00979412
Vues:
90
If I have this code to get the data into a dataset:
            Dim loDT As New OleDbDataAdapter(tcSQL, _
             "Provider=VFPOLEDB.1;Data Source=" + tcTable + ";Password='';Collating Sequence=MACHINE")
            loDT.Fill(loData, "Temp")
How can I detect if loDT is in fact a dataset? Because, if the query returns no result, this will generate an error as soon as I try to make a reference to loDT.
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