allowpaging passes control to the datagrid to take care of most of it, all
it means is the control divides up the page according to your page count,
you still have to instantiate a post back procedure that handles switching
to the different pages...
custom pages does work, but it doesn't split the pages up for you, you've
more control, and hence have to do more work with the control to get the
results you want... (you may want all the records in may 2000 in one page,
for example, and there may be more in june, so a straight count that the
allowpaging uses wouldn't work...)
the postback method is easy enough.
Sub MyDBgrid_Paging(sender As Object, e As DataGridPageChangedEventArgs)
MyDBgrid.CurrentPageIndex = e.NewPageIndex
BindData()
End Sub
this simply gets the number that was clicked on from 'e', then tell the grid
what page it's on before binding the data.
good luck