- Gridview Paging

Go down - Gridview Paging Empty - Gridview Paging

Post  Admin on Sat Jan 16, 2010 2:25 pm

Take a gridview named "Grid"

Set "Allow Paging" property to "True"

Goto source (html coding part) and in the gridview tag write the "OnPageIndexChanging="Grid_PageIndexChanging"

Goto coding section and write the following sub

Protected Sub GridViewPageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs)
sender.PageIndex = e.NewPageIndex
End Sub

Posts : 256
Join date : 2008-06-06

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum