HoverTreeWeb/HVTPanel/UserMessage/MessageList.aspx

(完整代码) 1KB

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MessageList.aspx.cs" Inherits="HoverTreeWeb.HVTPanel.UserMessage.MessageList" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>留言列表 -- HoverTree面板</title><base  target="_blank" />
    <style>
        .keleyitable {
            width: 800px;
        }

            .keleyitable table, td, th {
                border: 1px solid green;margin-top:10px;
            }
        .klytd {width:100px;text-align:right
        }
        .hvttd {
        width:500px}
    </style>
</head>
<body>
    <form id="form1" runat="server">
     <div style="margin:0px auto;" class="keleyitable"><h2>留言列表</h2>
         <asp:Repeater runat="server" ID="rptMessageList">
             <ItemTemplate>
                 <table>
            <tr><td class="klytd"><a href="HandleMessage.aspx?id=<%#Eval("hvtid") %>">留言时间</a>:</td><td class="hvttd"><%#Eval("hvttime") %></td></tr>
            <tr><td class="klytd">留言人:</td><td class="hvttd"><%#HttpUtility.HtmlEncode(Eval("hvtuser")) %></td></tr>
            <tr><td class="klytd">标题:</td><td class="hvttd"><%#HttpUtility.HtmlEncode(Eval("hvttitle")) %></td></tr>
            <tr><td class="klytd">内容:</td><td class="hvttd"><%#HttpUtility.HtmlEncode(Eval("hvtcontent")) %></td></tr>
            <tr><td class="klytd">回复:</td><td class="hvttd"><%#HttpUtility.HtmlEncode(Eval("hvtreply")) %></td></tr>
        </table>
             </ItemTemplate>
         </asp:Repeater>
        </div>

    <div style="width:800px;margin:10px auto;font-family:Arial, Helvetica, sans-serif;text-align:center;">HoverTree &copy; 2015 51aspx.com  </div>
    <!--最近打算开发一个留言板,asp.net的开源项目,http://hovertree.codeplex.com -->
    </form>
</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。