The DataGrid.PageIndexChanged event is raised when one of the page selection elements is clicked.
A typical handler for the DataGrid.PageIndexChanged event sets the DataGrid.CurrentPageIndex property to the index of the page you want to display and then uses the BaseDataList.DataBind method to bind the data to the System.Web.UI.WebControls.DataGrid control.
For more information about handling events, see [<topic://cpconEventsOverview>].