RecordsAffected Property
Collapse the table of content
Expand the table of content

RowUpdatedEventArgs.RecordsAffected Property


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

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

member RecordsAffected : int with get

Property Value

Type: System.Int32

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

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft