Repeater 如何实现分页
Bin 文件下已经引用AspNetPager.dll 事件里面的代码不会写。
部分代码如下:
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Page Title="大屏曲线图选择" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeFile="LeftTop.aspx.cs" Inherits="_Default" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
<style type="text/css">
ul{margin:0;padding:0}
</style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<p>
<asp:Label ID="Label1" runat="server" Text="选择站点的名称:" ForeColor="Black"></asp:Label>
<asp:Label ID="lblchosename" runat="server" Width="230px"></asp:Label>
<asp:Label ID="Label3" runat="server" Text="顺序:" ForeColor="Black"></asp:Label>
<asp:TextBox ID="TextBoxTurn" runat="server" Width="50px"></asp:TextBox>
<asp:Label ID="Label4" runat="server" Text="持续时间:" ForeColor="Black"></asp:Label>
<asp:TextBox ID="TextBoxTime" runat="server" Width="50px"></asp:TextBox>
</p>
<p>
<asp:Button ID="btnsearch" runat="server" Text="查找"
onclick="btnsearch_Click" />
<asp:TextBox ID="TextBox1" runat="server" Height="16px"></asp:TextBox>
&nbs