<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GuestBookManage.aspx.cs" Inherits="LZBS.Web.Admin.GuestBookManage" %>

<!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>
    <form id="form1" runat="server">
    <div style="width:100%;">
        <asp:GridView ID="gvGuestBook" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" CellPadding="4" DataKeyNames="BookID" 
            ForeColor="#333333" GridLines="None" 
            onrowdeleting="gvGuestBook_RowDeleting" 
            onpageindexchanging="gvGuestBook_PageIndexChanging">
            <RowStyle BackColor="#EFF3FB" />
            <Columns>
                <asp:BoundField DataField="Title" HeaderText="留言标题" SortExpression="Title">
                    <ItemStyle Width="60%" />
                </asp:BoundField>
                <asp:BoundField DataField="MemberID" HeaderText="留言者" SortExpression="MemberID">
                    <ItemStyle Width="10%" />
                </asp:BoundField>
                <asp:BoundField DataField="LeaveDate" HeaderText="留言时间" 
                    SortExpression="LeaveDate">
                    <ItemStyle Width="10%" />
                </asp:BoundField>
                <asp:HyperLinkField DataNavigateUrlFields="BookID" 
                    DataNavigateUrlFormatString="Reply.aspx?BookID={0}" HeaderText="查看/回复留言" 
                    Text="查看/回复">
                    <ItemStyle Width="10%" />
                </asp:HyperLinkField>
                <asp:CommandField HeaderText="删除该条留言" ShowDeleteButton="True" ShowHeader="True">
                    <ItemStyle Width="10%" />
                </asp:CommandField>
            </Columns>
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
    </div>
    
    
    
    
    
    </form>
</body>
</html>
