Hi,
I have the following code in place that allows paging to work on 3 grids, but it doesn't seem to be working for 2 other grids I have created. I have the AllowPaging property set to True on all grids, the visible property is set to True. I can see the currentpageindex change from 0 to 1, but as soon as I step through the code & bind the grid, my grid disappears. I can see page 1 fine though. Any ideas as to what is wrong?
***This code is in 5 grid pages, but it only works for 3 of the grids??? FYI....This is a web form using OleDB w/ fox-pro back end.
Private Sub grdExp_PageIndexChanged(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles grdExp.PageIndexChanged
grdExp.CurrentPageIndex = e.NewPageIndex
grdExp.DataBind()
End Sub
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement