Web/Admin/AdminPersonal.aspx

(完整代码) 2KB

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminPersonal.aspx.cs" Inherits="Web_Admin_AdminPersonal" %>

<!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>无标题页</title>
</head>
<body style="text-align: center" bgcolor="#339999">
    <form id="form1" runat="server">
    <div>
        <br />
        <asp:GridView ID="GVAdminMassage" runat="server" AutoGenerateColumns="False" Height="119px"
            Style="font-size: small" Width="639px" CellPadding="4" DataKeyNames="Id" ForeColor="#333333" GridLines="None" OnRowDeleting="GVAdminMassage_RowDeleting" AllowPaging="True" PageSize="7" OnPageIndexChanging="GVAdminMassage_PageIndexChanging">
            <Columns>
                <asp:BoundField DataField="Name" HeaderText="留言者" />
                <asp:TemplateField HeaderText="留言内容">
                <ItemTemplate>
                 <%#Eval("Contents").ToString().Length>6?Eval("Contents").ToString().Substring(0,6)+"......":Eval("Contents").ToString() %>
                </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="Reply" HeaderText="管理员回复" NullDisplayText="未回复" >
                    <ControlStyle ForeColor="Black" />
                </asp:BoundField>
                <asp:BoundField DataField="Times" HeaderText="留言时间" />
                <asp:TemplateField HeaderText="删除">
                <ItemTemplate>
                <asp:LinkButton ID="linkbutton1" CommandName="delete" OnClientClick="return confirm('确认删除?')" Text="删除" runat="server" ></asp:LinkButton>
                </ItemTemplate>
                </asp:TemplateField>
                <asp:HyperLinkField DataNavigateUrlFields="Id" DataNavigateUrlFormatString="ReplyMassage.aspx?Id={0}"
                    HeaderText="回复" Text="回复/修改" />
            </Columns>
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#E3EAEB" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#7C6F57" />
        </asp:GridView>
        &nbsp; &nbsp; &nbsp;</div>
    </form>
</body>
</html>

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

AI 解读 AI

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

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