📄 default.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!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>
<div>
</div>
</div>
<table background="新会员注册.jpg" style="width: 800px; height: 500px">
<tr>
<td style="width: 56103448px">
</td>
<td>
</td>
<td style="width: 110px">
</td>
</tr>
<tr>
<td style="width: 56103448px; height: 212px">
</td>
<td style="height: 212px">
</td>
<td style="width: 110px; height: 212px">
</td>
</tr>
<tr>
<td colspan="2" style="height: 42px">
<table align="center" background="通用图2.bmp" bordercolordark="#ff00ff" bordercolorlight="#ff00ff"
cellpadding="0" cellspacing="0">
<tr style="font-size: 12pt">
<td align="center" colspan="2" style="border-right: lime thin outset; border-top: lime thin outset;
border-left: lime thin outset; width: 497px; border-bottom: lime thin outset">
<asp:Label ID="Label1" runat="server" Font-Size="9pt" Text="以下内容为必填,请正确填写,否则无法完成注册"></asp:Label>
</td>
</tr>
<tr style="font-size: 12pt">
<td colspan="2" style="border-right: lime thin outset; border-top: lime thin outset;
border-left: lime thin outset; width: 497px; border-bottom: lime thin outset">
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="7" style="width: 53px; text-align: center">
</td>
<td align="left" style="width: 94px; height: 25px">
<asp:Label ID="labLoginName" runat="server" Font-Size="9pt" Text="会员登录名" Width="66px"></asp:Label></td>
<td align="left" style="width: 224px; height: 25px; text-align: left">
<asp:TextBox ID="txtLoginName" runat="server" Font-Size="9pt" Width="123px"></asp:TextBox>
<asp:Button ID="btnTest" runat="server" CausesValidation="False" Font-Size="9pt"
OnClick="btnTest_Click" Text="检验" Width="42px" /></td>
<td align="left" style="width: 149px; height: 25px">
<asp:RequiredFieldValidator ID="rfvLoginName" runat="server" ControlToValidate="txtLoginName"
Font-Size="9pt" Height="1px" Width="117px">会员登录名不能为空</asp:RequiredFieldValidator></td>
</tr>
<tr atomicselection="true">
<td align="left" style="height: 17px">
<asp:Label ID="labSex" runat="server" Font-Size="9pt" Text="性别" Width="27px"></asp:Label></td>
<td align="left" style="width: 224px; height: 17px; text-align: left">
<asp:DropDownList ID="ddlSex" runat="server" Font-Size="9pt" Height="21px" Width="123px">
<asp:ListItem>男</asp:ListItem>
<asp:ListItem>女</asp:ListItem>
</asp:DropDownList></td>
<td align="left" style="width: 149px; height: 17px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlSex"
ErrorMessage="性别不能为空" Font-Size="9pt"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="left" style="width: 94px; height: 23px">
<asp:Label ID="labPwd" runat="server" Font-Size="9pt" Text="密码" Width="27px"></asp:Label></td>
<td align="left" style="width: 224px; height: 23px; text-align: left">
<asp:TextBox ID="txtPwd" runat="server" TextMode="Password" Width="119px"></asp:TextBox></td>
<td align="left" style="width: 149px; height: 23px">
<asp:RequiredFieldValidator ID="rfvPwd" runat="server" ControlToValidate="txtPwd"
Font-Size="9pt" Width="104px">会员密码不能为空</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="left" style="width: 94px; height: 24px">
<asp:Label ID="Label4" runat="server" Font-Size="9pt" Text="确认密码"></asp:Label></td>
<td align="left" style="width: 224px; height: 24px; text-align: left">
<asp:TextBox ID="txtSurePassword" runat="server" TextMode="Password" Width="121px"></asp:TextBox></td>
<td align="left" style="width: 149px; height: 24px">
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPwd"
ControlToValidate="txtSurePassword" ErrorMessage="两次密码输入不一致" Font-Size="9pt"></asp:CompareValidator></td>
</tr>
<tr>
<td align="left" style="width: 94px; height: 30px">
<asp:Label ID="labQuePwd" runat="server" Font-Size="9pt" Text="密码问题" Width="52px"></asp:Label></td>
<td align="left" style="width: 224px; height: 30px; text-align: left">
<asp:TextBox ID="txtQuePwd" runat="server" Font-Size="9pt" Height="21px" Width="123px"></asp:TextBox></td>
<td align="left" style="width: 149px; height: 30px">
<asp:RequiredFieldValidator ID="rfvQuePwd" runat="server" ControlToValidate="txtQuePwd"
Font-Size="9pt" Width="136px">密码提示问题不能为空</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="left" style="width: 94px">
<asp:Label ID="labAnsPwd" runat="server" Font-Size="9pt" Text="密码提示答案" Width="72px"></asp:Label></td>
<td align="left" style="width: 224px; text-align: left">
<asp:TextBox ID="txtAnsPwd" runat="server" Font-Size="9pt" Height="21px" Width="123px"></asp:TextBox></td>
<td align="left" style="width: 149px">
<asp:RequiredFieldValidator ID="rfvAnsPwd" runat="server" ControlToValidate="txtAnsPwd"
Font-Size="9pt" Width="135px">提示问题答案不有为空</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="left" style="width: 94px">
<asp:Label ID="labEmail" runat="server" Font-Size="9pt" Text="E-mail" Width="45px"></asp:Label></td>
<td align="left" style="width: 224px; text-align: left">
<asp:TextBox ID="txtEmail" runat="server" Font-Size="9pt" Height="21px" Width="123px"></asp:TextBox></td>
<td align="left" style="width: 149px">
<asp:RegularExpressionValidator ID="revEmail" runat="server" ControlToValidate="txtEmail"
Font-Size="9pt" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
Width="132px">E-mail格式不正确</asp:RegularExpressionValidator></td>
</tr>
<tr>
<td colspan="2" rowspan="2" style="height: 29px; text-align: center">
</td>
<td rowspan="2" style="width: 224px; height: 29px; text-align: left">
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="注册" />
<asp:Button ID="Button1" runat="server" Text="取消" CausesValidation="False" OnClick="Button1_Click" Width="43px" /></td>
<td rowspan="2" style="width: 149px; height: 29px">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td style="width: 110px; height: 42px">
</td>
</tr>
<tr>
<td background="新" style="width: 56103448px; height: 106px">
</td>
<td style="height: 106px">
</td>
<td style="width: 110px; height: 106px">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -