GridView.SelectRow(Int32) 方法

定義

選取要在 GridView 控制項中編輯的資料列。

public:
 void SelectRow(int rowIndex);
public void SelectRow (int rowIndex);
member this.SelectRow : int -> unit
Public Sub SelectRow (rowIndex As Integer)

參數

rowIndex
Int32

要編輯之資料列的索引。

備註

這個方法會 SelectedIndexChanged 引發 事件。

適用於