GridView分页
在Gridview中添加
AllowPaging="True" onpageindexchanging="Gridview_PageIndexChanging" PageSize="10"
在后台代码中添加
protected void GV_ProInfo_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GV_ProInfo.PageIndex = e.NewPageIndex;
重新绑定Gridview
}