Knowledgebase:
ExecuteQuery
Posted by Mohammad Rahhal, Last modified by Angham Al-Banawien on 09 December 2016 04:05 PM

Syntax

Public Function ExecuteQuery (ByVal CommandText As String) As System.Data.DataRowCollection

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