<%@ Page language="c#" Codebehind="RepeaterPager.aspx.cs" AutoEventWireup="false" Inherits="CommonFunction.RepeaterCommand" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>RepeaterCommand</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<h2>Repeater控件分页例子</h2>
			<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 48px" cellSpacing="1"
				cellPadding="1" width="300" border="0">
				<TR>
					<TD align="right">
						<asp:label id="lblCurPage" runat="server"></asp:label>
						<asp:HyperLink id="lnkPrev" runat="server">上一页</asp:HyperLink>
						<asp:HyperLink id="lnkNext" runat="server">下一页</asp:HyperLink></TD>
				</TR>
				<TR>
					<TD style="HEIGHT: 29px">
						<HR style="WIDTH: 400px; HEIGHT: 1px" color="red" SIZE="1">
						&nbsp;
						<asp:Repeater id="RepeaterPage" runat="server">
							<ItemTemplate>
								<li>
									<%#DataBinder.Eval(Container.DataItem,"TitleOfCourtesy")%>
									<%#DataBinder.Eval(Container.DataItem,"LastName")%>
									<%#DataBinder.Eval(Container.DataItem,"FirstName")%>
								</li>
							</ItemTemplate>
						</asp:Repeater></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
