Class.aspx
资源名称:yjal.rar [点击查看]
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:3k
源码类别:
Email客户端
开发平台:
Visual C++
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Class.aspx.cs" MasterPageFile="MasterPage.master"
- Inherits="_Class" %>
- <asp:Content runat="server" ID="Class" ContentPlaceHolderID="ContentPlaceHolder1">
- <asp:HiddenField ID="HiddenField1" runat="server" />
- <asp:Label ID="Label1" runat="server"></asp:Label>
- <table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
- <tr>
- <td valign="top"width="25%">
- <table width="100%" border="0" cellspacing="2" cellpadding="0" align="left">
- <tr>
- <td height="25" class="View3"> 最新热点</td>
- </tr>
- <tr>
- <td class="View4" width="25%">
- <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
- <tr>
- <td align="left">
- <asp:Repeater ID="R_Repeater" runat="server">
- <ItemTemplate>
- <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>
- <br />
- </ItemTemplate>
- </asp:Repeater>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td valign="top" width="75%">
- <table width="100%" border="0" cellspacing="2" cellpadding="0" align="right">
- <tr>
- <td height="25" class="View3"> 新闻标题</td>
- <td height="25" class="View3"> 发布时间</td>
- </tr>
- <asp:Repeater ID="Repeater1" runat="server">
- <ItemTemplate>
- <tr>
- <td height="25" class="View2" width="75%"> <a href="NewsShow.aspx?NewsID=<%#Eval("NewsID") %>" target="_blank"><%#Eval("biaoti") %></a></td>
- <td class="View2"><font color="#999999"><%#Eval("shijian") %></font></td>
- </tr>
- </ItemTemplate>
- </asp:Repeater>
- <tr>
- <td colspan="2">
- <table width="100%" border="0" align="center" cellspacing="0" id="TABLE1">
- <tr>
- <td align="center">
- <asp:LinkButton ID="lbtnFirstPage" runat="server" OnClick="lbtnFirstPage_Click">首页</asp:LinkButton>
- <asp:LinkButton ID="lbtnpritPage" runat="server" OnClick="lbtnpritPage_Click">上一页</asp:LinkButton>
- <asp:LinkButton ID="lbtnNextPage" runat="server" OnClick="lbtnNextPage_Click">下一页</asp:LinkButton>
- <asp:LinkButton ID="lbtnDownPage" runat="server" OnClick="lbtnDownPage_Click">尾页</asp:LinkButton>
- 第<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" />条新闻
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </asp:Content>