📄 user regist.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="User Regist.aspx.cs" Inherits="Regist" %>
<%@ Register Src="top.ascx" TagName="top" TagPrefix="uc1" %>
<!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 style="text-align: center; background-color: #cccc33;">
<form id="form1" runat="server">
<h1 style="text-align: left">
<span style="color: #0000ff"></span></h1>
<table id="TABLE1" onclick="return TABLE1_onclick()" style="text-align: center; background-color:black;">
<tr>
<td align="center" colspan="2" style="height: 18px; text-align: left; background-color: white;">
<span style="font-size: 16pt; color: #3300ff"><strong>
<span style="font-size: 24pt; background-color: white;"><span> <span>
用户注册</span></span><br />
</span>
</strong></span>
</td>
</tr>
<tr>
<td style=" height: 11px; background-color: white; width: 131px;" align="right" >
出生日期:</td>
<td style=" height: 11px; text-align: left; background-color: white; width: 444px;" >
<asp:DropDownList ID="DropDownList_Year" runat="server" >
</asp:DropDownList>年<asp:DropDownList ID="DropDownList_Month" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_Month_SelectedIndexChanged"
>
</asp:DropDownList>月<asp:DropDownList ID="DropDownList_Day" runat="server" >
</asp:DropDownList>日</td>
</tr>
<tr>
<td style=" height: 21px; background-color: white; width: 131px;" align="right" >
用 户 名:</td>
<td style=" height: 21px; text-align: left; background-color: white; width: 444px;" >
<asp:TextBox ID="TextBox_UserName" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox_UserName"
ErrorMessage="请先输入用户名!"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style=" height: 26px; background-color: white; width: 131px;" align="right" >
密 码:</td>
<td style="height: 26px; text-align: left; background-color: white; width: 444px;" >
<asp:TextBox ID="TextBox_Pass1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox_Pass1"
ErrorMessage="请先输入密码!"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style=" height: 26px; background-color: white; width: 131px;" align="right" >
密码确认:</td>
<td style="text-align: left; height: 26px; background-color: white; width: 444px;" >
<asp:TextBox ID="TextBox_Pass2" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox_Pass2"
ErrorMessage="必须再次输入密码!"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox_Pass1"
ControlToValidate="TextBox_Pass2" ErrorMessage="两次的密码输入不一致!"></asp:CompareValidator>
</td>
</tr>
<tr>
<td style=" height: 42px; background-color: white; width: 131px;" align="right" >
爱 好:</td>
<td style="height: 42px; text-align: left; background-color: white; width: 444px;" >
<asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox1_CheckedChanged" Text="体育" />
<asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox2_CheckedChanged" Text="读书" /> <br />
<asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatDirection="Horizontal" Visible="False">
<asp:ListItem Value="0">跑步</asp:ListItem>
<asp:ListItem Value="1">打球</asp:ListItem>
<asp:ListItem Value="2">自行车</asp:ListItem>
<asp:ListItem Value="3">登山</asp:ListItem>
<asp:ListItem Value="4">其它</asp:ListItem>
</asp:CheckBoxList>
<br />
<br />
<asp:CheckBoxList ID="CheckBoxList2" runat="server" RepeatDirection="Horizontal"
Visible="False">
<asp:ListItem Value="0">文学</asp:ListItem>
<asp:ListItem Value="1">历史</asp:ListItem>
<asp:ListItem Value="2">时尚</asp:ListItem>
<asp:ListItem Value="3">其它</asp:ListItem>
</asp:CheckBoxList></td>
</tr>
<tr>
<td align="center" colspan="2" style="height: 31px; text-align: left; background-color: white;" >
<asp:Button
ID="Button1" runat="server" OnClick="Button1_Click" Text="提交" />
<asp:Button ID="Button_examine"
runat="server" Enabled="False" OnClick="Button_examine_Click" Text="查看信息" />
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">注销</asp:LinkButton></td>
</tr>
<tr>
<td align="left" colspan="2" style="height: 224px; background-color: white;" >
<asp:Label ID="Label_Msg" runat="server" Height="151px" Text="Label" Width="610px" Visible="False"></asp:Label><br />
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
ShowSummary="False" />
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -