Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataGrid and paging
Message
De
11/03/2003 10:27:26
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Titre:
DataGrid and paging
Divers
Thread ID:
00764239
Message ID:
00764239
Vues:
51
hi!

i put a datagrid onto my webform which displays data in a dataset (source=sql-server). the datagrid is limited to 10 entries the others are available over 'paging'.

i put the following code onto my webform:
Private Sub myGrid_PageIndexChanged(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles myGrid.PageIndexChanged
        Me.myGrid.CurrentPageIndex = e.NewPageIndex
        Me.myGrid.DataBind()
End Sub
on one webform everything is ok but on the other webform when the paging event is executed the datagrid dispears.

any ideas?
TIA
robert.oh.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform