I know how to page threw a datagrid i use the folowing code
Protected Sub grid_PageIndexChanged(ByVal sender As System.Object, ByVal e As DataGridPageChangedEventArgs) Handles grid.PageIndexChanged
mygrid.CurrentPageIndex = e.NewPageIndex
mygrid.DataSource = mydataset
mygrid.DataBind()
End Sub
but how do i page a gridview. The event that handles paging does not like
mygrid.mypageindex
how do i change the code for the datagird to work for a dataview?
2007-01-16
05:03:11
·
2 answers
·
asked by
csdraska
1
in
Computers & Internet
➔ Programming & Design