GridView.SetPageIndex(Int32) 方法

定義

使用資料列索引,設定 GridView 控制項的頁面索引。

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

參數

rowIndex
Int32

在頁面上要編輯之資料列的索引。

備註

這個方法會 PageIndexChanged 引發 事件。

適用於