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

<!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 rel="Stylesheet" href="../Images/Admin.css" type="text/css" />
    <script type="text/javascript" src="../Images/Admin.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        位置：选择留言本
        <div style="height:5px"></div>
        <table class="tab1" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
            <table class="tab2" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td class="tab2_bt">
                留言本列表
                </td>
            </tr>
            <tr>
                <td>
                            <asp:GridView ID="GridView1" runat="server" CellSpacing="1" CssClass="tab3" GridLines="None" AutoGenerateColumns="False">
                                <Columns>
                                    <asp:BoundField DataField="ID" HeaderText="ID" >
                                        <ItemStyle Width="10%" />
                                        <HeaderStyle Width="10%" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="留言本名称" HeaderText="留言本名称" >
                                        <ItemStyle Width="80%" />
                                        <HeaderStyle Width="80%" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="选择">
                                        <ItemStyle Width="10%" />
                                        <HeaderStyle Width="10%" />
                                        <ItemTemplate>
                                        <a href="#" onclick="opener.SheZhiLiuYanBen('<%=Request.QueryString["type"] %>','<%# Eval("ID") %>','<%# Server.HtmlEncode(Eval("留言本名称").ToString().Replace("'","\\'")) %>');window.close()">选择</a>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                </td>
            </tr>
            </table>
            </td>
        </tr>
        </table>
    </div>
    </form>
</body>
</html>
