📄 register.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="regiter, App_Web_xtvwqxfv" %>
<!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 bgcolor="silver">
<form id="form1" runat="server">
<div>
<div style="border-right: black thin solid; border-top: black thin solid; z-index: 101;
left: 153px; border-left: black thin solid; width: 450px; border-bottom: black thin solid;
position: absolute; top: 112px; height: 240px">
<asp:Label ID="Label1" runat="server" Font-Names="方正行楷简体" Style="left: 54px; position: absolute;
top: 19px" Text="账号:"></asp:Label>
<asp:Label ID="Label2" runat="server" Font-Names="方正行楷简体" Style="left: 54px; position: absolute;
top: 67px" Text="密码:"></asp:Label>
<asp:Label ID="Label3" runat="server" Font-Names="方正行楷简体" Style="left: 22px; position: absolute;
top: 115px" Text="确认密码:"></asp:Label>
<asp:Label ID="Label4" runat="server" Font-Names="方正行楷简体" Style="left: 54px; position: absolute;
top: 165px" Text="邮箱:"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server" Style="left: 101px; position: absolute;
top: 19px" Width="103px"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server" Style="left: 101px; position: absolute;
top: 67px" TextMode="Password" Width="103px"></asp:TextBox>
<asp:TextBox ID="TextBox3" runat="server" OnTextChanged="TextBox3_TextChanged" Style="left: 101px;
position: absolute; top: 115px" TextMode="Password" Width="103px"></asp:TextBox>
<asp:TextBox ID="TextBox4" runat="server" Style="left: 101px; position: absolute;
top: 164px" Width="146px"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Font-Names="方正行楷简体" OnClick="Button1_Click"
Style="left: 87px; position: absolute; top: 207px" Text="注册" Width="100px" />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
ErrorMessage="账号不能为空" Style="left: 225px; position: absolute; top: 20px"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
ErrorMessage="密码不能为空" Style="left: 225px; position: absolute; top: 70px"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox4"
ErrorMessage="邮箱格式错误" Style="left: 265px; position: absolute; top: 164px" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2"
ControlToValidate="TextBox3" ErrorMessage="密码不一致" Style="left: 225px; position: absolute;
top: 118px"></asp:CompareValidator>
<asp:Label ID="Label6" runat="server" ForeColor="Red" Style="left: 228px; position: absolute;
top: 21px" Width="88px"></asp:Label>
</div>
<asp:Label ID="Label5" runat="server" Font-Names="方正行楷简体" Font-Size="X-Large" Style="left: 266px;
position: absolute; top: 53px" Text="注册信息填写" Width="155px"></asp:Label>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -