<%@ page language="C#" autoeventwireup="true" inherits="sysadmin_N25175_User_RepairUserEdit, App_Web_repairuseredit.aspx.f5bc8385" enableEventValidation="false" %>

<%@ Register Src="../MainHeader.ascx" TagName="MainHeader" TagPrefix="uc1" %>
<!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 href="/control/plugin/bootstrap3/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="/control/css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <uc1:MainHeader ID="MainHeader1" runat="server" />
    <div class="container" style='margin-top: 55px'>
        <ul class="breadcrumb">
            <li><a href="/sysadmin/Dashboard.aspx">主页</a> </li>
            <li><a href="/sysadmin/N25175_User/RepairUserList.aspx">报修用户</a> </li>
            <li class="active">编辑报修用户 </li>
        </ul>
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">
                    编辑报修用户</h3>
            </div>
            <div class="panel-body">
                    <form class="form-horizontal" id="from1" runat="server">
               
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">
                            姓名：</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtu_name" CssClass="form-control" runat="server" MaxLength="10"></asp:TextBox>
                        </div>
                        <div class="col-sm-3">
                            <asp:RequiredFieldValidator ID="rfvu_name" runat="server" ForeColor="Red" ErrorMessage="请填写姓名"
                                ControlToValidate="txtu_name"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">
                            用户名：</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtu_user" runat="server" CssClass="form-control" MaxLength="20"></asp:TextBox>
                            <p class="help-block">
                                数字字母组成最少6位最多20位！</p>
                        </div>
                        <div class="col-sm-3">
                            <asp:RequiredFieldValidator ID="rfvu_user" runat="server" ForeColor="Red" ErrorMessage="请填写用户名！"
                                ControlToValidate="txtu_user" Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revu_user" ControlToValidate="txtu_user" ValidationExpression="^[a-zA-Z0-9_]{6,20}$"
                                runat="server" ErrorMessage="无效的格式" ForeColor="Red"></asp:RegularExpressionValidator>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">
                            密码：</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtu_pass" runat="server" CssClass="form-control" MaxLength="25"  TextMode="Password"></asp:TextBox>

                            <p class="help-block" style='color:red'>
                                如需修改密码 请重新填写密码！
                            </p>

                        </div>
                        <div class="col-sm-3">
                            
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">
                            密码验证：
                        </label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtu_pass2" runat="server" CssClass="form-control" MaxLength="25"
                                TextMode="Password"></asp:TextBox>
                            <p class="help-block">
                                重新输入填写的密码，验证两次密码是否输入一致！
                            </p>
                        </div>
                        <div class="col-sm-3">
                            <asp:CompareValidator ID="rfvu_pass2" runat="server" ForeColor="Red" ErrorMessage="两次密码输入不一致"
                                ControlToValidate="txtu_pass2" ControlToCompare="txtu_pass"></asp:CompareValidator>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">
                            性别：</label>
                        <div class="col-sm-10">
                            <label class="radio-inline">
                                <asp:RadioButton ID="txtu_nan" runat="server" Checked="true" GroupName="sex" />
                                男
                            </label>
                            <label class="radio-inline">
                                <asp:RadioButton ID="txtu_nv" runat="server" GroupName="sex" />
                                女
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">
                            生日：
                        </label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtu_beiginDate" CssClass="form-control" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                        </div>
                        <div class="col-sm-3">
                            <asp:RequiredFieldValidator ID="rfvu_beiginDate" runat="server" ErrorMessage="请填写生日"
                                ForeColor="Red" ControlToValidate="txtu_beiginDate"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">
                            手机号码：
                        </label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtu_phone" runat="server" CssClass="form-control" MaxLength="50"></asp:TextBox>
                            <p class="help-block">
                                请填写注册人的正确手机号码！
                            </p>
                        </div>
                        <div class="col-sm-3">
                            <asp:RequiredFieldValidator ID="rfvu_phone" runat="server" ForeColor="Red" ErrorMessage="请填写手机号码！"
                                ControlToValidate="txtu_phone"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">
                            邮箱：</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtu_email" runat="server" CssClass="form-control" MaxLength="50"></asp:TextBox>
                            <p class="help-block">
                                请填写正确的有效的邮箱，可用于找回密码！
                            </p>
                        </div>
                        <div class="col-sm-3">
                            <asp:RequiredFieldValidator ID="rfvu_email" runat="server" ForeColor="Red" ErrorMessage="请填写电子邮箱"
                                ControlToValidate="txtu_email" BorderStyle="None" Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revu_email" runat="server" ErrorMessage="无效邮箱地址"
                                ControlToValidate="txtu_email" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">
                            身份证号码：</label>
                        <div class="col-sm-10">
                            <asp:TextBox ID="txtu_idNumber" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">
                            所在地址：</label>
                        <div class="col-sm-10">
                            <asp:TextBox ID="txtu_address" runat="server" MaxLength="255" CssClass="form-control"></asp:TextBox>
                            <p class="help-block">
                                工作单位地址或公司地址！
                            </p>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <asp:Button ID="btn_Submit" CssClass="btn btn-default btn-primary" runat="server"
                                Text="保存编辑" OnClick="btnSubmit_Click" />
                        </div>
                    </div>
                    </form>
            </div>
        </div>
    </div>
    <script src="/control/js/jquery.js" type="text/javascript"></script>
    <script src="/control/plugin/bootstrap3/js/bootstrap.js" type="text/javascript"></script>
</body>
</html>
