<%@ page language="C#" autoeventwireup="true" inherits="disk__admin_manager_disk_user_disk_user_insert, App_Web_ym0y0jol" %>

<!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>

    <link rel="stylesheet" type="text/css" href="<%=ResolveUrl("~/disk/control/css/main.css?v=1.0")%>" />
    
</head>
<body>
<h3>新增用户</h3>
    <form id="form1" runat="server">
        <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="txtur_name" runat="server" MaxLength="50" Width="226px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvur_name" runat="server" ErrorMessage="请填写姓名" ControlToValidate="txtur_name"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td height="25" width="150" align="right">
                        用户名<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtur_user" runat="server" MaxLength="50" Width="226px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvur_user" runat="server" ErrorMessage="请填写用户名"
                            ControlToValidate="txtur_user"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="rev" runat="server" ErrorMessage="数字字符下划线" ValidationExpression="^\w+$" ControlToValidate="txtur_user"></asp:RegularExpressionValidator>
                            
                     
                    </td>
                </tr>
                <tr>
                    <td height="25" width="150" align="right">
                        密码<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtur_pass" runat="server" MaxLength="16" Width="226px" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvur_pass" runat="server" ErrorMessage="请填写密码" ControlToValidate="txtur_pass"></asp:RequiredFieldValidator>
                        <br />
                        <asp:RegularExpressionValidator ID="rvfur_pass" runat="server" ErrorMessage="以字母开头，长度在6-16之间，只能包含字符数字和下划线" 
                        ValidationExpression="^[a-zA-Z]\w{5,15}$" ControlToValidate="txtur_pass"></asp:RegularExpressionValidator>
                    </td>
                </tr>

                <tr>
                    <td align="right" width="150" style="height: 25px">
                        用户权限角色：</td>
                    <td align="left" style="height: 25px">
                        <asp:CheckBoxList ID="dllAuthority" runat="server" RepeatDirection="Horizontal">
                        </asp:CheckBoxList></td>
                </tr>
                <tr>
                    <td height="25" width="150" align="right">
                        备注：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtur_note" runat="server" MaxLength="255" Width="415px" Height="101px" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td height="25" width="150" align="right">
                        允许登录<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:CheckBox ID="chkur_isLogin" Text="允许登录" runat="server" Checked="True" />
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <asp:Button ID="btnSubmit" runat="server" Text="保存" Width="80px" OnClick="btnSubmit_Click" />
                        <asp:Button ID="btnClose" runat="server" Text="保存并关闭" OnClick="btnClose_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
