ExecuteQuery
Posted by Mohammad Rahhal, Last modified by Laith Ghawi on 02 July 2019 04:45 PM

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

Back to VBL Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions