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

<!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="../StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center">
    <form id="form1" runat="server">
    <div>
        &nbsp;
        <table style="width: 525px">
            <tr>
                <td colspan="3">
                    <asp:GridView ID="SurveyGridView" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        DataKeyNames="SurveyitemID" ForeColor="#333333" GridLines="None" Width="100%" OnRowDeleting="SurveyGridView_RowDeleting">
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundField DataField="Surveyitem" HeaderText="调查子项">
                                <ItemStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="操作管理">
                                <ItemStyle HorizontalAlign="Left" Width="80px" />
                                <ItemTemplate>
                                    <asp:Button ID="Button2" runat="server" CommandName="delete" Text="删除" />
                                </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>
                </td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: left">
                    <asp:TextBox ID="txtItem" runat="server" Width="281px"></asp:TextBox>
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="增加子项" /></td>
            </tr>
        </table>
        
        </div>
    </form>
</body>
</html>
