<%@ Page Language="C#" MasterPageFile="~/AccountMasterPage.master" AutoEventWireup="true" CodeFile="CreatUser.aspx.cs" Inherits="CreatUser" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
    
        <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" ContinueDestinationPageUrl="~/login.aspx"
        Height="125px" OnCreatedUser="CreateUserWizard1_CreatedUser" Width="290px" EnableViewState="False" FinishDestinationPageUrl="~/login.aspx" LoginCreatedUser="False" EmailRegularExpressionErrorMessage="" PasswordRegularExpressionErrorMessage="" MailDefinition-Priority="High" CancelDestinationPageUrl="~/login.aspx" DisplayCancelButton="True" InvalidPasswordErrorMessage="密码最短长度为 {0}，其中必须包含以下非字母数字字符:!" RequireEmail="False" CssClass="input">
        <WizardSteps>
            <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
                <ContentTemplate>
                    <table border="0" style="font-size: 100%; width: 266px; font-family: Verdana; height: 255px">
                        <tr>
                            <td align="right" colspan="2" style="font-weight: bold; color: white; background-color: #5d7b9d">
                                注册新帐户</td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 86px">
                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" Width="80px">用户名:</asp:Label></td>
                            <td align="left">
                                <asp:TextBox ID="UserName" runat="server" Height="15px" Width="128px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                    ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 86px">
                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Width="78px">密码:</asp:Label></td>
                            <td align="left">
                                <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                    ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 86px">
                                <asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword" Width="78px">确认密码:</asp:Label></td>
                            <td align="left">
                                <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword"
                                    ErrorMessage="必须填写“确认密码”。" ToolTip="必须填写“确认密码”。" ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 86px">
                                <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email" Width="78px">电子邮件:</asp:Label></td>
                            <td align="left">
                                <asp:TextBox ID="Email" runat="server" ></asp:TextBox>
                                <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email"
                                    ErrorMessage="必须填写“电子邮件”。" ToolTip="必须填写“电子邮件”。" ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 86px">
                                <asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question" Height="9px" Width="78px">安全提示问题:</asp:Label></td>
                            <td align="left">
                                <asp:TextBox ID="Question" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="QuestionRequired" runat="server" ControlToValidate="Question"
                                    ErrorMessage="必须填写“安全提示问题”。" ToolTip="必须填写“安全提示问题”。" ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 86px">
                                <asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer" Width="78px">安全答案:</asp:Label></td>
                            <td align="left">
                                <asp:TextBox ID="Answer" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" ControlToValidate="Answer"
                                    ErrorMessage="必须填写“安全答案”。" ToolTip="必须填写“安全答案”。" ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="color: red; height: 21px">
                                <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password"
                                    ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="“密码”和“确认密码”必须匹配。"
                                    ValidationGroup="CreateUserWizard1"></asp:CompareValidator></td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="color: red; height: 22px;">
                                <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:CreateUserWizardStep>
            <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
            </asp:CompleteWizardStep>
        </WizardSteps>
        <MailDefinition Priority="Low">
        </MailDefinition>
    </asp:CreateUserWizard>

    </div>
</asp:Content>

