Syntax
Public Function ExecuteQuery (ByVal CommandText As String) As System.Data.DataRowCollection
Description
This method return the count of rows that selected from database.
Parameters
Key | Description |
CommandText | The select command |
Sample
Public Sub main () Dim Result As Data.DataRowCollection Result = DB.ExecuteQuery ("SELECT * FROM History WHERE (BOOrderStatus = 'ACCEPTED') ") Msgbox (Result) End Sub
See Also