PreviousNext
Help > Easycom .NET > System.Data.EasycomClient namespace > EacCommand > EacCommand methods > EacCommand.ExecuteNonQuery()
EacCommand.ExecuteNonQuery()

 

public System.Int32 ExecuteNonQuery ( )

 

This method executes immediately the command. It prepares it and passes parameters if needed, executes the query, and updates the output parameters.

With this method, Easycom will not try to retrieve data.

 

Typical use of this method is calling simple programs or running "UPDATE" like SQL queries.

 

The function returns the number of affected rows or 0 if no rows have been modified.