User839733648 posted
Hi thepast,
The key point of paging the GridView is to add GridView1_PageIndexChanging function to your GridView.
Following is the key code of paging.
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e) {
GridView1.PageIndex = e.NewPageIndex;
}
For more about GridView's paging, you could refer to the link below which has detailed step-by-step instructions.
https://www.c-sharpcorner.com/UploadFile/rohatash/gridview-paging-sample-in-Asp-Net/
Besides, if you still have question about your code, please provide more details about your issue like related codes so that it will be better to help with you.
Best Regards,
Jenifer