天天看点

asp.net 的分页翻页

在DataGrid1_PageIndexChanged 中加入

DataGrid1.CurrentPageIndex=e.NewPageIndex;   

   DataGrid1.DataBind(); 

再解决刷新问题即可