📄 activate.aspx
字号:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="activate.aspx.vb" Inherits="activate" %>
<!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>
</head>
<body>
<form id="form1" runat="server" >
<div runat="server">
<div style="left: 15%; width: 73%; position: absolute; top: 0px;
height: 156%; background-image: url(Image/imgnew4.jpg); background-color: transparent; z-index: 100; background-attachment: scroll; background-repeat: no-repeat;" id="DIV1" language="javascript" onclick="return DIV1_onclick()" align="center">
<br />
<br />
<asp:Wizard ID="MyActivateUser" runat="server" ActiveStepIndex="1" DisplaySideBar="False" Height="721px" StartNextButtonText="测试" ToolTip="300px"
StepNextButtonText="注册" Width="698px" FinishDestinationPageUrl="~/Default.aspx" FinishPreviousButtonText="" StepPreviousButtonText="重置" FinishPreviousButtonType="Link">
<WizardSteps>
<asp:WizardStep ID="ActivateTest" runat="server" Title="测试">
<table border="0"style="font-size: 100%; width: 499px; font-family: Verdana; height: 300px" >
<tr>
<td align="center" colspan="2" style="font-weight: bold; color: white; background-color: #5d7b9d">
测试帐号</td>
</tr>
<tr>
<td>
<asp:Label ID="AccountNameLabel" runat="server" AssociatedControlID="SearchAccount" >帐号:</asp:Label>
<asp:TextBox ID="SearchAccount" runat="server"></asp:TextBox><br />
<asp:Label ID="SearchAccountMessage" runat="server" ForeColor="Red" />
<asp:HyperLink ID="HyperLink" runat="server" NavigateUrl="~/Default.aspx" Visible="False">登入...</asp:HyperLink>
</td>
</tr>
</table>
</asp:WizardStep>
<asp:WizardStep ID="Activating" runat="server" Title="激活" >
<table border="0" style="font-size: 100%; width: 499px; font-family: Verdana; height: 300px" id="TABLE1" runat="server">
<tr runat="server">
<td align="center" colspan="2" runat="server">
注册</td>
</tr>
<tr runat="server">
<td align="right" style="width: 124px" runat="server">
<asp:Label ID="UserIDlbl" runat="server" AssociatedControlID="UserID">学号:</asp:Label>
</td>
<td style="width: 195px" runat="server">
<asp:TextBox ID="UserID" runat="server" Width="153px"></asp:TextBox>
<asp:RequiredFieldValidator ID="UserIDRequired" runat="server" ControlToValidate="UserID"
ErrorMessage="*"></asp:RequiredFieldValidator>
</td>
</tr>
<tr runat="server">
<td align="right" style="width: 124px; height: 28px" runat="server">
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">密码:</asp:Label>
</td>
<td style="width: 195px; height: 28px" runat="server">
<asp:TextBox ID="Password" runat="server" TextMode="Password" Width="151px"></asp:TextBox>
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
ErrorMessage="*"></asp:RequiredFieldValidator>
</td>
</tr>
<tr runat="server">
<td align="right" style="width: 124px" runat="server">
<asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword">确认密码:</asp:Label>
</td>
<td style="width: 195px" runat="server">
<asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
<asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword"
ErrorMessage="*"></asp:RequiredFieldValidator>
</td>
</tr>
<tr runat="server">
<td align="right" style="width: 124px" runat="server">
<asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">电子邮箱:</asp:Label>
</td>
<td style="width: 195px" runat="server">
<asp:TextBox ID="Email" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email"
ErrorMessage="*"></asp:RequiredFieldValidator>
</td>
</tr>
<tr runat="server">
<td align="right" style="width: 124px; height: 26px" runat="server">
<asp:Label ID="ClassLabel" runat="server" AssociatedControlID="ClassNo">班级:</asp:Label>
</td>
<td style="width: 195px; height: 26px" runat="server">
<asp:TextBox ID="ClassNo" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="ClassNoRequired" runat="server" ControlToValidate="ClassNo"
ErrorMessage="*"></asp:RequiredFieldValidator>
</td>
</tr>
<tr runat="server">
<td align="right" style="width: 124px" runat="server">
<asp:Label ID="TelephonLabel" runat="server" AssociatedControlID="Telephone">电话:</asp:Label>
</td>
<td style="width: 195px" runat="server">
<asp:TextBox ID="Telephone" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="TelephoneRequired" runat="server" ControlToValidate="Telephone"
ErrorMessage="*"></asp:RequiredFieldValidator>
</td>
</tr>
<tr runat="server">
<td align="center" colspan="2" runat="server">
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="Password"
ControlToValidate="ConfirmPassword" ErrorMessage="“密码”和“确认密码”必须匹配。"></asp:CompareValidator>
</td>
</tr>
<tr runat="server">
<td align="center" colspan="2" style="color: red; height: 20px" runat="server">
<asp:RegularExpressionValidator ID="EmailRegularExpression" runat="server" ControlToValidate="Email"
ErrorMessage="邮箱格式不正确" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
</td>
</tr>
</table>
</asp:WizardStep>
<asp:WizardStep ID="ActivateComplete" runat="server" Title="完成">
<table id="TABLE3" border="0" style="font-size: 100%; font-family: Verdana; width: 179px; height: 61px;" bordercolor="#00ff66">
<tr>
<td align="center" colspan="2" style="font-weight: bold; color: white; background-color: #5d7b9d;
height: 18px;">
注册成功!</td>
</tr>
</table>
</asp:WizardStep>
</WizardSteps>
<StepNextButtonStyle BorderStyle="Solid" />
<FinishCompleteButtonStyle BorderStyle="Solid" />
<FinishPreviousButtonStyle BorderStyle="None" BorderWidth="0px" />
<StartNavigationTemplate>
<asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" Text="测试" />
</StartNavigationTemplate>
</asp:Wizard>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -