GridView.SetEditRow(Int32) 方法

定义

GridView 控件中使用指定行索引将某行置于编辑模式。Puts a row in edit mode in a GridView control by using the specified row index.

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

参数

rowIndex
Int32

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

注解

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

适用于