<%@ page language="C#" autoeventwireup="true" inherits="disk_login_enroll, App_Web_nfdoxdjf" %>




<!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>
<div style="width:900px; margin:0 auto; border:solid 1px whitesmoke">
<h3 style="display:block; height:25px; color:#696969; background-color: whitesmoke; padding:5px">
    用户注册</h3>
    <form id="form1" runat="server">
        <div>
            <!-- Add.aspx -->
            <table cellspacing="0" cellpadding="8" 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>&nbsp;
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtur_user"
                            ErrorMessage="以字母开头，长度在6-16之间，只能包含字符数字和下划线" ValidationExpression="^[a-zA-Z]\w{5,15}$"></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>
                        <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" height="25" width="150">
                        密码验证*：</td>
                    <td align="left" height="25">
                        <asp:TextBox ID="txtPass2" runat="server" Width="226px" TextMode="Password"></asp:TextBox>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtur_pass"
                            ControlToValidate="txtPass2" ErrorMessage="两次密码输入不一致"></asp:CompareValidator></td>
                </tr>
                <tr>
                    <td align="right" height="25" width="150">
                        密码找回提问：</td>
                    <td align="left" height="25">
                        <asp:TextBox ID="txttw" runat="server" Width="531px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txttw"
                            ErrorMessage="请填写"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" height="25" width="150">
                        密码提问回答：</td>
                    <td align="left" height="25">
                        <asp:TextBox ID="txthd" runat="server" Width="531px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txthd"
                            ErrorMessage="请填写"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <asp:Button ID="btnSubmit" runat="server" Text="注册" Width="80px" OnClick="btnSubmit_Click" />&nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </form>
    </div>
</body>
</html>
