<%@ page language="C#" autoeventwireup="true" validaterequest="false" inherits="adminweb_ProvinceManager, 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:5px">
        <asp:Label ID="Label2" runat="server" Font-Bold="False" Style="" Text="省份名称："></asp:Label>
        <asp:TextBox ID="TextName" runat="server" Style="" BorderStyle="Groove"></asp:TextBox>
        <asp:Button ID="BTSave" runat="server" Style="" Text="增加" Width="49px" OnClick="BTSave_Click" />
        <asp:Label ID="Label3" runat="server" ForeColor="Red" Style="" Width="183px"></asp:Label>
        </div>
        <table style="">
            <tr>
                <td style="width: 350px">
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        Width="100%" DataKeyNames="ID" OnPageIndexChanging="GridView1_PageIndexChanging"
                        OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowCancelingEdit="GridView1_RowCancelingEdit"
                        OnRowUpdating="GridView1_RowUpdating" OnRowDataBound="GridView1_RowDataBound"
                        CssClass="NewTable">
                        <Columns>
                            <asp:BoundField DataField="id" HeaderText="ID" ReadOnly="True">
                                <ItemStyle HorizontalAlign="Center" />
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="name" HeaderText="省份名称">
                                <ItemStyle HorizontalAlign="Center" />
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:CommandField ShowEditButton="True" />
                            <asp:CommandField ShowDeleteButton="True" />
                        </Columns>
                        <HeaderStyle HorizontalAlign="Center" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
