<%@ page language="C#" autoeventwireup="true" inherits="admin_pinglun, aoshuosoft" %>

<!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>
    <link href="admin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1"  OnPageIndexChanging="GridView1_PageIndexChanging"  runat="server" AllowPaging="True" AutoGenerateColumns="False"
            CellPadding="4" ForeColor="#333333" GridLines="None" PageSize="15">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField HeaderText="用户名" DataField="user" />
                <asp:BoundField HeaderText="留言内容" DataField="content" />
                <asp:BoundField HeaderText="时间" DataField="sj" />
                <asp:TemplateField HeaderText="删除"><ItemTemplate><a href="pinglun.aspx?action=del&id=<%#Eval("id") %>" onclick="return confirm('您真的要删除吗？')">删除</a></ItemTemplate></asp:TemplateField>
            </Columns>
            <RowStyle BackColor="#EFF3FB" />
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        <asp:Literal ID="tj" runat="server"></asp:Literal></div>
    </form>
</body>
</html>
