Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataGrid and paging
Message
From
11/03/2003 10:27:26
 
 
To
All
General information
Forum:
ASP.NET
Category:
Web forms
Title:
DataGrid and paging
Miscellaneous
Thread ID:
00764239
Message ID:
00764239
Views:
52
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.
Next
Reply
Map
View

Click here to load this message in the networking platform