📄 registe.aspx
字号:
<%@ Page language="c#" Inherits="e_librarys.Register" CodeFile="Registe.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Register</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<style type="text/css">
.style1
{
width: 101%;
height: 512px;
}
.style2
{
width: 216px;
}
.style3
{
height: 27px;
}
.style4
{
width: 216px;
height: 43px;
}
.style5
{
height: 43px;
}
.style6
{
width: 216px;
height: 33px;
}
.style7
{
height: 33px;
}
.style8
{
width: 216px;
height: 46px;
}
.style9
{
height: 46px;
}
.style10
{
width: 216px;
height: 53px;
}
.style11
{
height: 53px;
}
.style12
{
width: 216px;
height: 58px;
}
.style13
{
height: 58px;
}
</style>
</HEAD>
<body>
<FORM id="Form1" method="post" runat="server">
<FONT face="宋体">
<asp:label id="LabelRegist" style="Z-INDEX: 127; LEFT: 304px; POSITION: absolute; TOP: 19px; height: 18px;"
runat="server" Width="104px" Font-Bold="True" Font-Size="Large">注册</asp:label>
<table class="style1" border=1>
<tr>
<td colspan="2" class="style3" align=center bgColor="lightgrey"> </td>
</tr>
<tr>
<td class="style8" bgColor="lightgrey" align=right>
<asp:label id="Label_Name" style="Z-INDEX: 123;width:20px; LEFT: 168px; width: 58px;"
runat="server">用户名:</asp:label>
</td>
<td class="style9" align=left><asp:textbox id="TextBox_Name" style="Z-INDEX: 100; LEFT: 272px; POSITION: absolute; TOP: 64px"
runat="server"></asp:textbox>
<asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 119; LEFT: 448px; POSITION: absolute; TOP: 64px"
runat="server" ErrorMessage="用户名不能为空" ControlToValidate="TextBox_Name"></asp:requiredfieldvalidator>
<asp:button id="Button_Check" style="Z-INDEX: 122; LEFT: 272px; POSITION: absolute; TOP: 104px"
runat="server" Width="144px" Text="点击检验用户是否存在" onclick="Button_Check_Click"></asp:button>
<asp:label id="Label_Hint" style="Z-INDEX: 124; LEFT: 448px; POSITION: absolute; TOP: 104px"
runat="server" Width="128px" ForeColor="Red"></asp:label>
</td>
</tr>
<tr>
<td class="style4" bgColor="lightgrey" align=right>
<asp:label id="Label_Pswd" style="Z-INDEX: 101;width:88px; LEFT: 136px; POSITION: absolute; TOP: 144px"
runat="server">密 码:</asp:label>
</td>
<td class="style5" align=right><asp:textbox id="TextBox_Pswd" style="Z-INDEX: 103; LEFT: 272px; POSITION: absolute; TOP: 144px"
runat="server" Width="144px" TextMode="Password"></asp:textbox>
</td>
</tr>
<tr>
<td class="style6" bgColor="lightgrey"> </td>
<td class="style7" align=left><asp:textbox id="TextBox_RPswd" style="Z-INDEX: 104; LEFT: 272px; POSITION: absolute; TOP: 192px"
runat="server" Width="152px" TextMode="Password"></asp:textbox>
<asp:comparevalidator id="CompareValidator1" style="Z-INDEX: 118; LEFT: 448px; POSITION: absolute; TOP: 192px"
runat="server" ErrorMessage="两次输入密码不一致" ControlToValidate="TextBox_RPswd" ControlToCompare="TextBox_Pswd"></asp:comparevalidator>
</td>
</tr>
<tr>
<td class="style2" align=right bgColor="lightgrey">
<FONT face="宋体">
<asp:label id="Labeldpswd" style="Z-INDEX: 102; width:20px; LEFT: 152px; width: 83px;"
runat="server">确认密码:</asp:label>
</FONT></td>
<td>
</td>
</tr>
<tr>
<td class="style10" align=right bgColor="lightgrey">
<asp:label id="Label_Sex" style="Z-INDEX: 105;width:77px; LEFT: 147px; POSITION: absolute; TOP: 232px"
runat="server">性 别:</asp:label>
</td>
<td class="style11" align=left><asp:radiobuttonlist id="RadioButtonList_Sex" style="Z-INDEX: 126; LEFT: 272px; POSITION: absolute; TOP: 232px"
runat="server" Height="64px">
<asp:ListItem Value="Radio_Max">男</asp:ListItem>
<asp:ListItem Value="Radio_Femax">女</asp:ListItem>
</asp:radiobuttonlist>
</td>
</tr>
<tr>
<td class="style2" align=right bgColor="lightgrey">
<FONT face="宋体">
<asp:label id="Label_Birthday" style="Z-INDEX: 106; width:88px; LEFT: 135px; POSITION: absolute; TOP: 312px"
runat="server">出生日期:</asp:label>
</FONT></td>
<td align=left>
<asp:dropdownlist id="DropDown_Month" style="Z-INDEX: 112; LEFT: 368px; POSITION: absolute; TOP: 312px"
runat="server" AutoPostBack="True">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
</asp:dropdownlist>
<FONT face="宋体"><asp:dropdownlist id="DropDown_Year" style="Z-INDEX: 108; LEFT: 272px; POSITION: absolute; TOP: 309px; right: 417px;"
runat="server" AutoPostBack="True" Width="64px">
<asp:ListItem>1900</asp:ListItem>
<asp:ListItem>1901</asp:ListItem>
<asp:ListItem>1902</asp:ListItem>
<asp:ListItem>1903</asp:ListItem>
<asp:ListItem>1904</asp:ListItem>
<asp:ListItem>1905</asp:ListItem>
<asp:ListItem>1906</asp:ListItem>
<asp:ListItem>1907</asp:ListItem>
<asp:ListItem>1908</asp:ListItem>
<asp:ListItem>1909</asp:ListItem>
<asp:ListItem>1910</asp:ListItem>
<asp:ListItem>1911</asp:ListItem>
<asp:ListItem>1912</asp:ListItem>
<asp:ListItem>1913</asp:ListItem>
<asp:ListItem>1914</asp:ListItem>
<asp:ListItem>1986</asp:ListItem>
<asp:ListItem>1987</asp:ListItem>
<asp:ListItem>1988</asp:ListItem>
<asp:ListItem>1990</asp:ListItem>
<asp:ListItem>2000</asp:ListItem>
<asp:ListItem>2001</asp:ListItem>
</asp:dropdownlist>
</FONT></td>
<asp:dropdownlist id="DropDown_Day" style="Z-INDEX: 113; LEFT: 464px; POSITION: absolute; TOP: 312px"
runat="server" AutoPostBack="True">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
</asp:dropdownlist>
<asp:label id="Label_Day" style="Z-INDEX: 111; LEFT: 520px; POSITION: absolute; TOP: 312px"
runat="server" Width="1px">日</asp:label>
<asp:label id="Label_Month" style="Z-INDEX: 110; LEFT: 440px; POSITION: absolute; TOP: 312px"
runat="server" Width="16px">月</asp:label>
<asp:label id="Label_Year" style="Z-INDEX: 109; LEFT: 344px; POSITION: absolute; TOP: 312px"
runat="server" Width="16px">年</asp:label>
</tr>
<tr>
<td class="style2" align=right bgColor="lightgrey">
<asp:label id="Label_QQ" style="Z-INDEX: 125;width:46px; LEFT: 166px; POSITION: absolute; TOP: 464px"
runat="server">Q Q:</asp:label>
</td>
<td align=left><asp:textbox id="TextBox_QQ" style="Z-INDEX: 128; LEFT: 264px; POSITION: absolute; TOP: 448px"
runat="server"></asp:textbox>
</td>
</tr>
<tr>
<td class="style12" align=right bgColor="lightgrey">
<asp:label id="Label_Telephone" style="Z-INDEX: 115;width:104px; LEFT: 120px; POSITION: absolute; TOP: 408px"
runat="server">电 话:</asp:label>
</td>
<td class="style13" align=left><asp:textbox id="TextBox_Telephone" style="Z-INDEX: 116; LEFT: 272px; POSITION: absolute; TOP: 400px"
runat="server"></asp:textbox>
</td>
</tr>
<tr>
<td class="style2" align=right bgColor="lightgrey">
<asp:label id="Label_Email" style="Z-INDEX: 107;width:91px; LEFT: 133px; POSITION: absolute; TOP: 360px"
runat="server">邮 箱:</asp:label> </td>
<td align=left><asp:textbox id="TextBox_Email" style="Z-INDEX: 114; LEFT: 272px; POSITION: absolute; TOP: 352px"
runat="server"></asp:textbox><asp:regularexpressionvalidator id="RegularExpressionValidator_Email" style="Z-INDEX: 120; LEFT: 448px; POSITION: absolute; TOP: 352px"
runat="server" ErrorMessage="错误油箱" ControlToValidate="TextBox_Email" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator>
<FONT face="宋体"><asp:button id="Submit"
style="Z-INDEX: 121; LEFT: 290px; POSITION: absolute; TOP: 497px; width: 111px; height: 25px;"
runat="server" Text="提交" onclick="Submit_Click"></asp:button>
</FONT></td>
</tr>
<tr>
<td colspan="2" class="style3" align=center bgColor="lightgrey">
</td>
</tr>
</table>
</FONT></FORM>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -