Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Knowing when a count is available
Message
De
05/03/2012 11:23:24
 
 
À
05/03/2012 11:15:07
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01537286
Message ID:
01537288
Vues:
25
I guess the only way would be to set a property when I know I can fill the dataset:
                        Using loSQLConnection As New SqlConnection(cConnectionString)
                            oCommand.Connection = loSQLConnection
                            nResult = oDataAdapter.SelectCommand.ExecuteNonQuery()

                            ' If we can fill
                            If lDataSet Then
                                oDataAdapter.Fill(oDataSet)
                            End If

                        End Using
Is there something simpler than that I can use to avoid setting up a property?
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform