I have a Gridview with 7 rows of data. Paging is enabled and my pagecount is 5.
I also have a Details view linked to the Gridview via the Select feature on the Gridview.
I have the following code to link the two forms.
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged
DetailsView1.PageIndex = GridView1.SelectedIndex
Go to the complete details ...