⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reg.aspx

📁 登陆界面
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="reg.aspx.cs" Inherits="reg" %>

<!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 runat="server">
    <title>无标题页</title>
	<style type="text/css">
.style1 {
	text-align: center;
	background-image: url('../../../My%20Pictures/corInfMan/loginBG.jpg');
            width: 650px;
            height: 405px;
        }
.style2 {
	background-color: #C0C0C0;
}
        .style3
        {
            width: 20%;
            height: 405px;
        }
        .style4
        {
            height: 405px;
        }
        .style8
        {
            width: 84px;
        }
        .style9
        {
            width: 234px;
        }
    </style>
	</head>
<body style="background-color: #C0C0C0">
    <form id="form1" runat="server" style="width:100%;height:100%">
    <table style="width: 100%; height:100%; clip: rect(0px, 0px, auto, 0px);" 
        class="style2" runat="server">
		<tr>
			<td style="width: 20%; height: 50px;"></td>
		<td style="width: 650px; height:50px;"></td>
		<td style="height: 50px"></td>
		</tr>
		<tr>
			<td class="style3"></td>
			<td style="background-image: url('file:///D:/corInfMan/pic/loginBG.jpg')"
                class="style1" align="center">
			    
                <br />
			    <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" Height="141px" 
                    oncreatinguser="CreateUserWizard1_CreatingUser" RequireEmail="False" 
                    DisplaySideBar="True" onnextbuttonclick="CreateUserWizard1_NextButtonClick" 
                    Width="451px" 
                    oncreateduser="CreateUserWizard1_CreatedUser">
                    <SideBarStyle ForeColor="Red" />
                    <StepNavigationTemplate>
                        <asp:Button ID="StepPreviousButton" runat="server" CausesValidation="False" 
                            CommandName="MovePrevious" Text="上一步" />
                        <asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext" 
                            Text="下一步" />
                    </StepNavigationTemplate>
                    <StartNavigationTemplate>
                        <asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" 
                            Text="下一步" />
                    </StartNavigationTemplate>
                    <WizardSteps>
                        <asp:WizardStep runat="server" EnableTheming="True" Title="注册条件">
                            <div class="style7">
                                <span class="style5">用户注册查询<br />
                                </span>
                                <br class="style5" />
                                <span class="style6">请输入您的员工ID和姓名<br />
                                <br />
                                ID&nbsp;&nbsp;&nbsp;
                                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                &nbsp;
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                    ControlToValidate="TextBox1" ErrorMessage="*"></asp:RequiredFieldValidator>
                                <br />
                                姓名</span><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                                <span class="style5">&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
                                    runat="server" ControlToValidate="TextBox2" ErrorMessage="*"></asp:RequiredFieldValidator>
                                <br />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
                            </div>
                        </asp:WizardStep>
                        <asp:CreateUserWizardStep runat="server">
                            <ContentTemplate>
                                <table border="0" style="font-size:100%;height:141px; width: 341px;">
                                    <tr>
                                        <td align="center" colspan="2">
                                            注册新帐户</td>
                                    </tr>
                                    <tr>
                                        <td align="right" class="style8">
                                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">用户名:</asp:Label>
                                        </td>
                                        <td class="style9" style="text-align: left" runat="server">
                                            <asp:TextBox ID="UserName" runat="server" Width="105px" Height="20px" 
                                                style="text-align: left" ></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                                ControlToValidate="UserName" ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" 
                                                ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                            <asp:Button ID="Button1" runat="server" Height="21px" onclick="Button1_Click" 
                                                Text="检测是否可用" Width="85px" />
                                            <asp:Label ID="check" Enabled="true" runat="server" AssociatedControlID="UserName"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" class="style8">
                                            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">密码:</asp:Label>
                                        </td>
                                        <td class="style9" style="text-align: left">
                                            <asp:TextBox ID="Password" runat="server" TextMode="Password" Width="105px" 
                                                Height="20px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                                ControlToValidate="Password" ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" 
                                                ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" class="style8">
                                            <asp:Label ID="ConfirmPasswordLabel" runat="server" 
                                                AssociatedControlID="ConfirmPassword">确认密码:</asp:Label>
                                        </td>
                                        <td class="style9" style="text-align: left">
                                            <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password" 
                                                Width="105px" Height="20px" ontextchanged="ConfirmPassword_TextChanged"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" 
                                                ControlToValidate="ConfirmPassword" ErrorMessage="必须填写“确认密码”。" 
                                                ToolTip="必须填写“确认密码”。" ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="2">
                                            <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;">
                                            <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                            <CustomNavigationTemplate>
                                <table border="0" cellspacing="5" style="width:100%;height:100%;">
                                    <tr align="right">
                                        <td align="right" colspan="0">
                                            <asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext" 
                                                Text="创建用户" ValidationGroup="CreateUserWizard1" />
                                        </td>
                                    </tr>
                                </table>
                            </CustomNavigationTemplate>
                        </asp:CreateUserWizardStep>
                        <asp:CompleteWizardStep runat="server" >
                            <ContentTemplate>
                                <table border="0" style="font-size:100%;height:141px;width:215px;">
                                    <tr>
                                        <td>
                                            已成功创建您的帐户。</td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="2">
                                            完成</td>
                                    </tr>
                                    <tr>
                                        <td align="right" colspan="2">
                                            <asp:Button ID="FinishButton" runat="server" CausesValidation="False" 
                                                CommandName="Continue" Text="继续" ValidationGroup="CreateUserWizard1" 
                                                onclick="FinishButton_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </asp:CompleteWizardStep>
                    </WizardSteps>
                </asp:CreateUserWizard>
			</td>
			<td class="style4"></td>
		</tr>
		<tr>
			<td style="width: 20%">&nbsp;</td>
			<td style="width: 650px"></td>
			<td>&nbsp;</td>
		</tr>
	</table>
	</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -