⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 guestbook.aspx

📁 学生寝室管理系统
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="guestbook.aspx.cs" Inherits="guestbook" Title="学生寝室管理系统->留言板" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div align="center">
        <table border="0" style="width: 958px">
            <tr>
                <td nowrap="nowrap" style="width: 948px; height: 19px">
                    <div align="center" style="font-weight: bold; font-size: 15px; font-family: 'Courier New';">
                        学生寝室管理系统-&gt;留言板 &nbsp; &nbsp; &nbsp; &nbsp; 
                        <asp:Button ID="Button5" runat="server" BackColor="#404040"
                                                            CausesValidation="False" Height="21px" Style="font-weight: bold;
                                                            font-size: 13px; color: white" Text="我要留言" Width="70px" PostBackUrl="~/post.aspx" /></div>
                </td>
            </tr>
            <tr>
                <td style="height: 33px; width: 948px;">
                    <div align="center">
                        <asp:DataList ID="mydatalist" runat="server" style="font-size: 13px">
                            <ItemTemplate>
                                <div align="center">
                                    <div align="center">
                                        <div align="center">
                                            <table border="0" style="width: 810px; height: 293px; font-size: 14px;">
                                                <tr>
                                                    <td style="width: 136px; color: white; font-weight: bold; font-size: 14px; height: 19px;" bgcolor="dimgray" align="center">
                                                        留言标题</td>
                                                    <td align="center" style="width: 1813px; color: white; font-weight: bold; font-size: 14px; height: 19px;" bgcolor="dimgray">
                                                        <%#DataBinder.Eval(Container.DataItem, "title")%></td>
                                                    <td align="right" style="width: 763px; height: 19px; font-weight: bold; color: white; text-decoration: none;" bgcolor="dimgray">
                                                        </td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 136px; height: 228px;">
                                                        <div align="left">
                                                            <table border="0" style="width: 205px">
                                                                <tr>
                                                                    <td width="216" style="height: 125px">
                                                                        <div align="center">
                                                                            <asp:Image ID="Image1" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"userface","images/userface/{0}.gif") %>' /></div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td nowrap="nowrap">
                                                                        <div align="left">
                                                                           <font color="#000033"> 姓名:</font><%#DataBinder.Eval(Container.DataItem, "username")%></div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td nowrap="nowrap">
                                                                        <font color="#000033">身份:</font><%#DataBinder.Eval(Container.DataItem, "usershenfen")%></td>
                                                                </tr>
                                                                <tr>
                                                                    <td nowrap="nowrap" style="height: 21px">
                                                                        <div align="left">
                                                                            <font color="#000033">性别:</font><%#DataBinder.Eval(Container.DataItem, "usersex")%></div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td nowrap="nowrap">
                                                                        <div align="left">
                                                                           <font color="#000033"> 地址:</font><%#DataBinder.Eval(Container.DataItem, "useraddress")%></div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td nowrap="nowrap">
                                                                        <div align="left">
                                                                           <font color="#000033"> E-mail:</font><%#DataBinder.Eval(Container.DataItem, "useremail")%></div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </td>
                                                    <td style="height: 228px" colspan="2">
                                                        <div align="center">
                                                            <div align="center">
                                                                <div align="center">
                                                                    <div align="left">
                                                                    <asp:Image ID="Image2" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"img","images/emot/{0}.gif") %>' /><br />
                                                                        <%#DataBinder.Eval(Container.DataItem, "content")%></div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2" style="height: 19px" align="left">
                                                    <font color="#000033">入学时间:</font><%#DataBinder.Eval(Container.DataItem, "entertime")%>&nbsp;|&nbsp;&nbsp;<font color="#000033">所在系名:</font><%#DataBinder.Eval(Container.DataItem, "userxiname")%> &nbsp;&nbsp;| &nbsp;<font color="#000033">所学专业:</font><%#DataBinder.Eval(Container.DataItem, "userzhuanye")%>&nbsp;&nbsp;|&nbsp; <font color="#000033">班级名称:</font><%#DataBinder.Eval(Container.DataItem, "classname")%></td>
                                                    <td style="width: 763px; height: 19px;" align ="left" >
                                                      <font color="#000033">  留言时间:</font><%#DataBinder.Eval(Container.DataItem, "edittime")%> </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                                <div align="center">
                                    <table border="0" style="width: 808px; font-size: 14px;">
                                        <tr>
                                            <td align="left" style="height: 1px">
                                                <div align="center">
                                                    <hr color="gray" />
                                                </div>
                                                 <font color="#000033"> 回复人:</font><%#DataBinder.Eval(Container.DataItem, "rename")%>(管理员)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#000033">回复时间:</font><%#DataBinder.Eval(Container.DataItem, "replytime")%></td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap">
                                                <div align="left">
                                                      <font color="#000033">回复内容:<asp:Image ID="Image3" runat="server" ImageAlign="AbsMiddle"
                                                          ImageUrl='<%# DataBinder.Eval(Container.DataItem,"replyimg","images/emot/{0}.gif") %>' /></font><%#DataBinder.Eval(Container.DataItem, "reply")%></div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </ItemTemplate>
                        </asp:DataList></div>
                </td>
            </tr>
            <tr>
                <td nowrap="nowrap" style="height: 24px; width: 948px; font-weight: bold; color: white; background-color: gray;">
                    <div align="center" style="font-size: 14px">
                        <asp:Label ID="Label1" runat="server" Text="每页显示"></asp:Label><asp:Label ID="Label3"
                            runat="server" ForeColor="Red" Style="font-weight: bold" Text="6"></asp:Label><asp:Label
                                ID="Label2" runat="server" Text="条信息 共有"></asp:Label><asp:Label ID="lblRecordCount"
                                    runat="server" Font-Bold="True" ForeColor="Red"></asp:Label><asp:Label ID="Label4"
                                        runat="server" Text="条记录 当前是第"></asp:Label><asp:Label ID="Labelye" runat="server"
                                            Font-Bold="True" ForeColor="Red" Text="1"></asp:Label><asp:Label ID="Label6" runat="server"
                                                Style="font-weight: bold" Text="/"></asp:Label><asp:Label ID="lblPageCount" runat="server"
                                                    Font-Bold="True" ForeColor="Red"></asp:Label><asp:Label ID="Label5" runat="server"
                                                        Text="页"></asp:Label>
                        <asp:Button ID="Button1" runat="server" BackColor="#404040"
                                                            CausesValidation="False" Height="22px" OnClick="Button1_Click" Style="font-weight: bold;
                                                            font-size: 13px; color: white" Text="上一页" Width="59px" />&nbsp;
                        <asp:Button ID="Button2" runat="server" BackColor="#404040" CausesValidation="False"
                            Height="22px" OnClick="Button2_Click" Style="font-weight: bold; font-size: 13px;
                            color: white" Text="下一页" Width="55px" />&nbsp;
                        <asp:Button ID="Button3" runat="server" BackColor="#404040" CausesValidation="False"
                            Height="22px" OnClick="Button3_Click" Style="font-weight: bold; font-size: 13px;
                            color: white" Text="首页" />&nbsp;
                        <asp:Button ID="Button4" runat="server" BackColor="#404040" CausesValidation="False"
                            Height="22px" OnClick="Button4_Click" Style="font-weight: bold; font-size: 13px;
                            color: white" Text="尾页" /></div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -