Class.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:3k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Class.aspx.cs" MasterPageFile="MasterPage.master"
  2.   Inherits="_Class" %>
  3. <asp:Content runat="server" ID="Class" ContentPlaceHolderID="ContentPlaceHolder1">
  4.   <asp:HiddenField ID="HiddenField1" runat="server" />
  5.   <asp:Label ID="Label1" runat="server"></asp:Label>
  6.   <table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
  7.     <tr>
  8.       <td valign="top"width="25%">
  9.         <table width="100%" border="0" cellspacing="2" cellpadding="0" align="left">
  10.           <tr>
  11.             <td height="25" class="View3">&nbsp;最新热点</td>
  12.           </tr>
  13.           <tr>
  14.             <td class="View4" width="25%">
  15.               <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
  16.                 <tr>
  17.                   <td align="left">
  18.                     <asp:Repeater ID="R_Repeater" runat="server">
  19.                       <ItemTemplate>
  20.                         <a href="./NewsShow.aspx?NewsID=<%#Eval("NewsID") %>" target="_blank"><%#Eval("biaoti").ToString().Trim().Length > 14 ? Eval("biaoti").ToString().Trim().Substring(0, 14) : Eval("biaoti").ToString().Trim()%></a>
  21.                         <br />
  22.                       </ItemTemplate>
  23.                     </asp:Repeater>
  24.                   </td>
  25.                 </tr>
  26.               </table>
  27.             </td>
  28.           </tr>
  29.         </table>
  30.       </td>
  31.       <td valign="top" width="75%">
  32.         <table width="100%" border="0" cellspacing="2" cellpadding="0" align="right">
  33.           <tr>
  34.             <td height="25" class="View3">&nbsp;新闻标题</td>
  35.             <td height="25" class="View3">&nbsp;发布时间</td>
  36.           </tr>
  37.           <asp:Repeater ID="Repeater1" runat="server">
  38.             <ItemTemplate>
  39.               <tr>
  40.                 <td height="25" class="View2" width="75%">&nbsp;&nbsp;<a href="NewsShow.aspx?NewsID=<%#Eval("NewsID") %>" target="_blank"><%#Eval("biaoti") %></a></td>
  41.                 <td class="View2"><font color="#999999"><%#Eval("shijian") %></font></td>
  42.               </tr>
  43.             </ItemTemplate>
  44.           </asp:Repeater>
  45.           <tr>
  46.             <td colspan="2">
  47.               <table width="100%" border="0" align="center" cellspacing="0" id="TABLE1">
  48.                 <tr>
  49.                   <td align="center">
  50.                     <asp:LinkButton ID="lbtnFirstPage" runat="server" OnClick="lbtnFirstPage_Click">首页</asp:LinkButton>
  51.                     <asp:LinkButton ID="lbtnpritPage" runat="server" OnClick="lbtnpritPage_Click">上一页</asp:LinkButton>
  52.                     <asp:LinkButton ID="lbtnNextPage" runat="server" OnClick="lbtnNextPage_Click">下一页</asp:LinkButton>
  53.                     <asp:LinkButton ID="lbtnDownPage" runat="server" OnClick="lbtnDownPage_Click">尾页</asp:LinkButton>
  54.                     第<asp:Label ID="labPage" runat="server" Text="Label"></asp:Label>页/共<asp:Label ID="LabCountPage" runat="server" Text="Label"></asp:Label>页 共<asp:Label ID="Total" runat="server" />条新闻
  55.                   </td>
  56.                 </tr>
  57.               </table>
  58.             </td>
  59.           </tr>
  60.         </table>
  61.       </td>
  62.     </tr>
  63.   </table>
  64. </asp:Content>