Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Knowing when a count is available
Message
From
05/03/2012 11:23:24
 
 
To
05/03/2012 11:15:07
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01537286
Message ID:
01537288
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform