hi all,
i have a gridview with 100 records. records per page is 10.
the events i am using is
1) row command for the selection of the records and displaying the details related to selected record in textbox in the same view under multiview.
the problem arises when the pageindex is clicked the gridview disappears,
i am binding the data
but it is not showing the records
sometime it takes the pageindex as row index and displays the records but it doen't change the page
can anyone help me how to fetch only 10 records at a time from the database(MSaccess) and on "next button" click next 10 records
i have a gridview with 100 records. records per page is 10.
the events i am using is
1) row command for the selection of the records and displaying the details related to selected record in textbox in the same view under multiview.
the problem arises when the pageindex is clicked the gridview disappears,
i am binding the data
VB.NET:
gridview1.pageindex=e.newpageindex
gridview1.databind
but it is not showing the records
sometime it takes the pageindex as row index and displays the records but it doen't change the page
can anyone help me how to fetch only 10 records at a time from the database(MSaccess) and on "next button" click next 10 records