System.Data.Common Namespace RowUpdatedEventArgs Class
Returns the number of rows changed, inserted, or deleted by execution of the SQL statement.
[ VB ]
Public ReadOnly Property RecordsAffected As Integer
[ C# ]
public int RecordsAffected {get;}
[ C++ ]
public: __property int get_RecordsAffected ( );
[ JScript ]
public function get RecordsAffected ( ) : int;
The number of rows changed, inserted, or deleted; 0 if no rows were affected or the statement failed; and -1 for SELECT statements.
RowUpdatedEventArgs Members