<%@ page language="C#" autoeventwireup="true" inherits="GZ_system_N25175_Department_Edit, GZQuery_deploy" enableEventValidation="false" %>


<!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 id="Head1" runat="server">
    <title>编辑部门</title>
    <script type="text/javascript" language="javascript" src="<%=ResolveUrl("~/GZ/control/easy_ui/jquery.min.js?v=1")%>"></script>
    <link rel="stylesheet" type="text/css" href="<%=ResolveUrl("~/GZ/control/css/main.css?v=1")%>" />
</head>
<body>
    <form id="form1" runat="server">
        <h3 class='wjwHeaderTitle'>
            编辑部门</h3>
        <div>
            <!-- Add.aspx -->
            <table cellspacing="0" cellpadding="0" width="100%" border="0">
                <tr>
                    <td height="25" width="150" align="right">
                        部门名称<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtd_name" runat="server" MaxLength="50" Width="60%"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvd_name" runat="server" ErrorMessage="请填写部门名称"
                            ControlToValidate="txtd_name"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td height="25" width="150" align="right">
                        排序<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtd_sort" runat="server" MaxLength="8" Width="60%"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvd_sort" runat="server" ErrorMessage="请填写排序" ControlToValidate="txtd_sort"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="revd_sort" runat="server" ErrorMessage="必须为数字"
                            ControlToValidate="txtd_sort" ValidationExpression="^[0-9]\d*$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td height="25" width="150" align="right">
                        备注<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtd_note" runat="server" MaxLength="500" Width="60%"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <asp:Button ID="btnSubmit" runat="server" Text="保存并继续添加" Width="119px" OnClick="btnSubmit_Click" />&nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
