Navigation:  Advantage .NET Data Provider > AdsDataReader Class > AdsDataReader Properties >

AdsDataReader.RecordsAffected

Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.

public int RecordsAffected { get; }

Remarks

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

See Also

AdsCommand.ExecuteNonQuery