📄 regit.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Regit.ascx.cs" Inherits="ascx_Regit" %>
<table border="0" cellspacing="0" style="border-bottom-width: medium; border-bottom-color: royalblue; width: 603px;" cellpadding="0">
<tr >
<td style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px;
color: black; height: 20px; width: 594px;" align="left">
<asp:Label ID="Label1" runat="server" BackColor="RoyalBlue" Font-Size="X-Large" ForeColor="White"
Text="用户注册" ></asp:Label></td>
</tr>
</table>
<table style="border-collapse:collapse; border-right: royalblue solid; border-top: royalblue solid; border-left: royalblue solid; border-bottom: royalblue solid; color: #ffffff;" cellspacing="4">
<tr>
<td style="height: 24px; color: #000000;" align="left">
用户名称:
</td>
<td style="height: 24px; width: 483px;" align="left">
<asp:TextBox ID="tbUserName" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" BackColor="RoyalBlue" ForeColor="White" OnClick="Button1_Click"
Text="用户名是否可用" />
<asp:Label ID="Label2" runat="server" ForeColor="Red" Text="Label" Width="155px"></asp:Label></td>
</tr>
<tr><td align="left" colspan="2" valign="middle" style="height: 47px">
<asp:RadioButtonList ID="SexList" runat="server" Width="109px" RepeatDirection="Horizontal" Height="12px" ForeColor="Black" >
<asp:ListItem Value="1" Selected="True">男</asp:ListItem>
<asp:ListItem Value="0">女</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td style="height: 24px; color: #000000;" align="left">
用户密码:
</td>
<td style="width: 483px" align="left">
<asp:TextBox ID="tbUserPassword" runat="server" TextMode=password ></asp:TextBox>
</td>
</tr>
<tr>
<td style="height: 24px; color: #000000;" align="left">
确认密码:
</td>
<td style="width: 483px" align="left">
<asp:TextBox ID="QrPassword" runat="server" TextMode="Password"></asp:TextBox>
<asp:CompareValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="QrPassword" ControlToCompare="tbUserPassword"
ErrorMessage="两次输入的密码不相同!" Display="Dynamic"></asp:CompareValidator>
</td>
</tr>
<tr>
<td style="height: 24px; color: #000000;" align="left">
所在的班级:
</td>
<td style="width: 483px" align="left">
<asp:TextBox ID="tbClass" runat="server" ></asp:TextBox>
</td>
</tr>
<tr>
<td style="height: 24px; color: #000000;" align="left">
电子邮箱:
</td>
<td style="height: 26px; width: 483px;"align="left" >
<asp:TextBox ID="tbEmail" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="tbEmail" ErrorMessage="电子邮箱格式不正确!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Width="160px" ></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td style="height: 24px; color: #000000;" align="left">
用户角色:
</td>
<td style="height: 24px; width: 483px;" align="left">
<asp:DropDownList ID="RoleList" runat="server">
</asp:DropDownList></td>
</tr>
<tr><td colspan="2" align="center" style="height: 88px">
<textarea id="TextArea1" rows="5" style="width:333px" dir="ltr" runat="server">1.所借图书必须如期归还,超期一天罚款一角,不交罚款者计算机将拒借任何图书。 2.读者要爱护图书,如有遗失、污损等按有关规定赔偿。 3.请记住您的密码和帐号,欢迎到图书馆借书。</textarea></td></tr>
<tr><td colspan="2" align="center" valign="middle" style="height: 24px">
<asp:RadioButtonList ID="RadioButtonList1" runat="server" Width="172px" RepeatDirection="Horizontal" Height="12px" ForeColor="Black" >
<asp:ListItem Value="yes" Selected="True">同意</asp:ListItem>
<asp:ListItem Value="no">不同意</asp:ListItem>
</asp:RadioButtonList>
<asp:Label ID="Mes" runat="server" ForeColor="Red" Text="Sara" Width="147px"></asp:Label></td></tr>
<tr>
<td colspan="2" align="center" style="height: 24px">
<asp:Button ID="btInregit" runat="server" Text="添加" OnClick="Inregit_Click" BackColor="RoyalBlue" Width="63px" ForeColor="White"/>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -