GridViewUpdatedEventArgs.AffectedRows Property
.NET Framework 3.0
Gets the number of rows affected by the update operation.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Use the AffectedRows property to determine the number of rows affected by the update operation.
Note: |
|---|
| Because only one record is typically updated, this property usually contains a value of 0 or 1. |
Sometimes an error might occur during the insert operation that does not raise an exception. The AffectedRows property is often used to verify that a record was inserted.
Community Additions
ADD
Show:
Note: