|  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="FrameWork.Web.Index" %>
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
 <html xmlns="http://www.w3.org/1999/xhtml" >
 <head runat="server">
 <title>Repeater数据分页</title>
 <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
 <style type="text/css">
 <!--
 body,td,th {
 font-size: 12px;
 }
 body {
 margin-left: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
 }
 a {
 font-size: 12px;
 color: #000000;
 }
 a:link {
 text-decoration: none;
 }
 a:visited {
 text-decoration: none;
 color: #000000;
 }
 a:hover {
 text-decoration: underline;
 color: #4455aa;
 }
 a:active {
 text-decoration: none;
 color: #000000;
 }
 -->
 </style>
 </head>
 <body>
 <br>
 <br>
 <br>
 <WebControl:RepeaterPages runat="server" AutoPageConcise="True" Css="Msn Gray Style" PageSize="15" SelectPage="False">
 <HeaderTemplate>
 <div>
 <ul>
 </HeaderTemplate>
 <ItemTemplate>
 <li>·<a href="javascript:"><%#Eval("Sys_NewsList_Title")%></a></li>
 </ItemTemplate>
 <FooterTemplate>
 </ul>
 </div>
 </FooterTemplate>
 </WebControl:RepeaterPages>
 </body>
 </html>
 
 后台代码:
 
 复制代码 代码如下: (编辑:南平站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |