ExecuteNonQuery() Method

Syntax:

public int ExecuteNonQuery()

Description:

Executes the CommandText with no result set returned.

Return Value:

Type: System.Int32

The number of rows affected.

Exceptions:

Exception Condition
RdmException The SQL engine encountered an error processing the command.

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbCommand.ExecuteNonQuery()