GridView.SelectRow(Int32) 方法

定义

选择要在 GridView 控件中编辑的行。Selects the row to edit in a GridView control.

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

参数

rowIndex
Int32

要编辑的行的索引。The index of the row to edit.

注解

此方法引发 SelectedIndexChanged 事件。This method raises the SelectedIndexChanged event.

适用于