RecordsAffected property

Description

The number of rows changed, inserted, or deleted by execution of the SQL statement. Inherited from RowUpdatedEventArgs.

Syntax

int RecordsAffected

Property value

The number of rows changed, inserted, or deleted; 0 if no rows were affected or the statement failed; and -1 for Select statements.

Access

Read-only