<%@ page language="C#" autoeventwireup="true" validaterequest="false" inherits="adminweb_zoneManager, DoodiiShop" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!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="css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="padding-left:5px">

        <asp:Label ID="Label4" runat="server" Style="" Text="省份："></asp:Label><asp:DropDownList
            ID="ProvDropDL" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ProvDropDL_SelectedIndexChanged"
            Style="" Width="116px">
        </asp:DropDownList>
        <asp:Label ID="Label5" runat="server" Style="" Text="城市："></asp:Label>
        <asp:DropDownList ID="CityDropDL" runat="server" AutoPostBack="True" OnSelectedIndexChanged="CityDropDL_SelectedIndexChanged"
            Style="" Width="114px">
        </asp:DropDownList>
        <asp:Label ID="Label6" runat="server" Style="" Text="地区："></asp:Label>
        <asp:DropDownList ID="RegionDropDL" runat="server" Style="" AutoPostBack="True" OnSelectedIndexChanged="RegionDropDL_SelectedIndexChanged"
            Width="86px">
        </asp:DropDownList>
        <br />
        <br />
        <asp:Label ID="Label3" runat="server" Style="" Text="片区名称："></asp:Label>
        <asp:TextBox ID="TextName" runat="server" Style="" Width="124px" BorderStyle="Groove"></asp:TextBox>
        <asp:Button ID="BTSave" runat="server" OnClick="BTSave_Click" Style="" Text="增加"
            Width="49px" />
        <asp:Label ID="Label2" runat="server" ForeColor="Red" Style="" Width="313px"></asp:Label>
        </div>
        <table style="">
            <tr>
                <td style="width: 650px">
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        DataKeyNames="ZoneId" Height="1px" OnPageIndexChanging="GridView1_PageIndexChanging"
                        OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView1_RowDeleting"
                        OnRowDataBound="GridView1_RowDataBound" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating"
                        Width="100%" CssClass="NewTable">
                        <Columns>
                            <asp:BoundField DataField="ZoneId" HeaderText="片区ID" ReadOnly="True" />
                            <asp:BoundField DataField="ZoneName" HeaderText="片区名称" />
                            <asp:BoundField DataField="RegionName" HeaderText="所属地区" ReadOnly="True" />
                            <asp:BoundField DataField="CityName" HeaderText="所属城市" ReadOnly="True" />
                            <asp:BoundField DataField="ProvName" HeaderText="所属省份" ReadOnly="True" />
                            <asp:BoundField DataField="RegionId" HeaderText="地区ID" Visible="False" />
                            <asp:BoundField DataField="CityID" HeaderText="城市ID" Visible="False" />
                            <asp:BoundField DataField="ProvID" HeaderText="省份ID" Visible="False" />
                            <asp:CommandField ShowEditButton="True" />
                            <asp:CommandField ShowDeleteButton="True" />
                        </Columns>
                        <RowStyle HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" ForeColor="Red" Width="369px"></asp:Label>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
