<%@ Page Language="C#" MasterPageFile="~/master.master" AutoEventWireup="true" CodeFile="Manager.aspx.cs" Inherits="Manager" Title="10228宿舍论坛" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="page" id="page">
        <div id="table" runat=server class="table">
            <h2 runat=server id="h2"></h2>
            <asp:GridView ID="articlelist" runat="server" CellPadding="4" ForeColor="#6C7E4A" GridLines="Horizontal" AllowPaging="True" AutoGenerateColumns="False" Width="100%" OnRowDeleting="articlelist_RowDeleting" >
                <FooterStyle BackColor="#BCD988" Font-Bold="True" ForeColor="#996600" />
                <RowStyle BackColor="#F9F9F9" BorderColor="#BCD988" BorderStyle="Solid" BorderWidth="1px" />
                <PagerStyle BackColor="#BCD988" ForeColor="#996600" HorizontalAlign="Left"/>
                <HeaderStyle BackColor="#BCD988" Font-Bold="True" ForeColor="#996600" HorizontalAlign="Center" VerticalAlign="Middle" />
                <AlternatingRowStyle BackColor="White" />
                <PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NextPreviousFirstLast"
                    NextPageText="下一页" PreviousPageText="上一页" />
                <Columns>
                    <asp:BoundField DataField="id" HeaderText="文章编号" ReadOnly="True" >
                        <ItemStyle CssClass="hidden" />
                        <HeaderStyle CssClass="hidden" />
                        <FooterStyle CssClass="hidden" />
                    </asp:BoundField>
                    <asp:BoundField DataField="replaynum" HeaderText="回复" />
                    <asp:BoundField DataField="readnum" HeaderText="阅读" />
                    <asp:BoundField DataField="title" HeaderText="题目" />
                    <asp:BoundField DataField="username" HeaderText="作者" />
                    <asp:BoundField DataField="classname" HeaderText="类别" />
                    <asp:BoundField DataField="time" HeaderText="发表时间" />
                    <asp:CommandField HeaderText="管理" ShowDeleteButton="True" />
                </Columns>
            </asp:GridView>
        </div>
        <div id="message" runat="server">
            <asp:HiddenField ID="classValue" runat="server" />
        </div>
    </div>
</asp:Content>

