摘要:
在Gridview中添加AllowPaging="True" onpageindexchanging="Gridview_PageIndexChanging" PageSize="10"在后台代码中添加protected void GV_ProInfo_PageIndexChanging(object sender, GridViewPageEventArgs e) { GV_ProInfo.PageIndex = e.NewPageIndex;重新绑定Gridview } 阅读全文