clicking the “next page” button does a postback to the server. when the server responds with the page, all the logic for connecting the grid to the datasource and showing the grid is in your button click handler. this means you have to click the button to see the grid again (next page). I would think you may want to put this in a handler for a different event…like Page_LoadComplete.
lol u got it wrong..
u have to have
Protected Sub Grid13_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles Grid13.PageIndexChanging
Grid13.PageSize = 10
Grid13.PageIndex = e.NewPageIndex
did your grid bind with correct?
GVHoliday.DataSource = datasets
each time page changing or any event occur to gridview..
u need to bind the data to it
and the most important code line is as above..
if u find this solution solve..
how about try to create an external button control for gridview page changing?
just email me the answer with title “external button control for gridview page changing”: