Redigera

Dela via


GridView.SetPageIndex(Int32) Method

Definition

Sets the page index of the GridView control by using the row index.

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

Parameters

rowIndex
Int32

The index of the row on the page to edit.

Remarks

This method raises the PageIndexChanged event.

Applies to