Share via


GridViewUpdateEventArgs.RowIndex 屬性

定義

取得要更新之資料列的索引。

public:
 property int RowIndex { int get(); };
public int RowIndex { get; }
member this.RowIndex : int
Public ReadOnly Property RowIndex As Integer

屬性值

Int32

要更新之資料列的索引。

備註

RowIndex使用 屬性來判斷要更新之資料列的索引。 資料列索引通常用來從 Rows 控制項的 GridView 集合擷取對應的資料列,這可讓您存取資料列的屬性。

適用於

另請參閱