要在PageIndexChanging里面重新绑定一下数据源
protected void StudentGridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
    {
        StudentGridView.PageIndex = e.NewPageIndex;
        this.StudentGridView.DataBind();   
       
    }

相关文章:

  • 2022-12-23
  • 2021-08-24
  • 2021-04-27
  • 2022-01-31
  • 2022-12-23
  • 2022-02-15
猜你喜欢
  • 2022-03-01
  • 2022-01-07
  • 2021-11-27
  • 2021-11-17
  • 2021-06-06
  • 2021-06-26
  • 2022-12-23
相关资源
相似解决方案