GridViewUpdatedEventArgs::AffectedRows Property
.NET Framework (current version)
Gets the number of rows that were affected by the update operation.
Assembly: System.Web (in System.Web.dll)
Because only one record is typically updated, this property usually contains a value of 0 or 1.
An error can occur during the update operation that does not raise an exception. You can use the AffectedRows property to make sure that a record was updated.
.NET Framework
Available since 2.0
Available since 2.0
Show: