介绍 |
asp.net Google样式分页控件 使用方法:
引入控件 <%@ Register Assembly="TinyToolBox" Namespace="TinyMS.UI" TagPrefix="tm" %>
使用控件 <tm:TinyPager ID="TinyPager1" runat="server" TotalRecords="289" PageSize="20" onclick="TinyPager1_Click"/>
页码处理事件 protected void TinyPager1_Click(object sender, TinyMS.UI.PagerEventArgs e) { his.Label1.Text = "第" + e.PageNo + "页"; }
|