G
Guest
I can't seem to find a good example of how someone resolved the
currentpageindex error that occurs when I try and page to another page on my
datagrid. My subroutine is:
Private Sub DataGrid1_PageIndexChanged(ByVal source As Object, ByVal e
As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles
DataGrid1.PageIndexChanged
'Change pages on the grid.
DataGrid1.CurrentPageIndex = e.NewPageIndex
DataBind()
End Sub
If anyone can give me a written example that works, I would be grateful.
currentpageindex error that occurs when I try and page to another page on my
datagrid. My subroutine is:
Private Sub DataGrid1_PageIndexChanged(ByVal source As Object, ByVal e
As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles
DataGrid1.PageIndexChanged
'Change pages on the grid.
DataGrid1.CurrentPageIndex = e.NewPageIndex
DataBind()
End Sub
If anyone can give me a written example that works, I would be grateful.