AspNetPager分页插件使用
1、首先把AspNetPager.dll插件引用到你的项目中:
2、前台代码:
1 <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
2
3 <webdiyer:AspNetPager ID="AspNetPager1" CssClass="fenye" runat="server" FirstPageText="首页"
4 LastPageText="尾页" NextPageText="下一页" onpagechanged="AspNetPager1_PageChanged"
5 PrevPageText="上一页">
6 </webdiyer:AspNetPager>
3、后台代码:
protected void AspNetPager1_PageChanged(object sender, EventArgs e)
{
//填写绑定你要是数据
}
摘自 不缺氧
补充:Web开发 , ASP.Net ,