?? reg.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>無標(biāo)題頁</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
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox1" ErrorMessage="*"></asp:RequiredFieldValidator>
<br />
姓名</span><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<span class="style5"> <asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server" ControlToValidate="TextBox2" ErrorMessage="*"></asp:RequiredFieldValidator>
<br />
</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">確認(rèn)密碼:</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="必須填寫“確認(rèn)密碼”。"
ToolTip="必須填寫“確認(rèn)密碼”。" 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="“密碼”和“確認(rèn)密碼”必須匹配。"
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="創(chuàng)建用戶" 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>
已成功創(chuàng)建您的帳戶。</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="繼續(xù)" 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%"> </td>
<td style="width: 650px"></td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -