ObjectDataSourceStatusEventArgs.AffectedRows 属性

定义

获取或设置受数据操作影响的行的数目。Gets or sets the number of rows that are affected by the data operation.

public:
 property int AffectedRows { int get(); void set(int value); };
public int AffectedRows { get; set; }
member this.AffectedRows : int with get, set
Public Property AffectedRows As Integer

属性值

受数据操作影响的行的数目。The number of rows affected by the data operation.

注解

AffectedRows使用值验证预计的行数是否受影响。Use the AffectedRows value to verify that the expected number of rows was affected.

适用于

另请参阅