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

Syntax

Public Function ExecuteNonQuery(ByVal CommandText As String)

This method use to insert into database, update felids in database, delete from database.

Parameters

Key Description 
CommandText insert, update, delete command 

Sample

 Public Sub main ()

  Dim Query As string ="UPDATE History SET BOOrder Ticket= ‘" &1234 & " WHERE (History.BOOrderID= ‘" & -1 &"’)"         
  DB.ExecuteNonQuery (Query)
  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