📄 regester.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="regester.aspx.cs" Inherits="reg" %>
<!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="font-size: 12pt">
<form id="form1" runat="server">
<div>
<img src="images/Path.gif" /><span style="font-size: 11pt"> <span style="color: #006666">
注册页面:</span><br />
</span>
<br />
<table style="text-align: center; height: 223px; font: messagebox;">
<tr>
<td style="height: 34px; text-align: left">
<asp:Label ID="Label1" runat="server" Text="用户名" Width="57px"></asp:Label></td>
<td style="width: 153px; height: 34px; text-align: left">
<asp:TextBox ID="txtname" runat="server" Width="116px" Height="11px" ToolTip="请输入你的用户名"></asp:TextBox></td>
<td style="width: 63px; height: 34px; text-align: left">
<asp:Label ID="Label2" runat="server" Text="密 码" Width="52px"></asp:Label></td>
<td style="width: 179px; height: 34px; text-align: left">
<asp:TextBox ID="txtComp" runat="server" TextMode="Password" Height="11px" ToolTip="请输入你的密码" Width="116px"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 24px; text-align: left">
<asp:Label ID="Label3" runat="server" Text="确认密码" Width="66px"></asp:Label></td>
<td style="width: 153px; height: 24px; text-align: left">
<br />
<asp:TextBox ID="txtCompTo" runat="server" TextMode="Password" Width="116px" Height="11px" ToolTip="请确认密码"></asp:TextBox>
<asp:CompareValidator ID="comp1" runat="server" ControlToCompare="txtComp" ControlToValidate="txtCompTo"
ErrorMessage="两次密码输入不同!" Type="String" Width="144px"></asp:CompareValidator></td>
<td style="width: 63px; height: 24px; text-align: left">
<asp:Label ID="Label4" runat="server" Text="分 属" Width="48px"></asp:Label></td>
<td style="width: 179px; height: 24px; text-align: left">
<asp:DropDownList ID="DropDownList1" runat="server" Width="116px" Height="11px">
<asp:ListItem>无</asp:ListItem>
<asp:ListItem>系统用户</asp:ListItem>
<asp:ListItem>普通用户</asp:ListItem>
<asp:ListItem>部门用户</asp:ListItem>
<asp:ListItem>管理用户</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 100px; height: 22px; text-align: left;">
<asp:Label ID="Label5" runat="server" Text="组" Width="60px"></asp:Label></td>
<td style="width: 153px; height: 22px; text-align: left;">
<asp:TextBox ID="txtgroup" runat="server" Width="116px" Height="11px" ToolTip="用户分组"></asp:TextBox></td>
<td style="width: 63px; height: 22px; text-align: left;">
<asp:Label ID="Label6" runat="server" Text="描 述" Width="48px"></asp:Label></td>
<td style="width: 179px; height: 22px; text-align: left;">
<asp:TextBox ID="txtdes" runat="server" Height="32px" TextMode="MultiLine" ToolTip="用户描述 选填"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px; height: 22px; text-align: left;">
<asp:Label ID="Label7" runat="server" Text="备 注" Width="58px"></asp:Label></td>
<td style="height: 22px; text-align: left;" colspan="3">
<asp:TextBox ID="txtadd" runat="server" Height="47px" TextMode="MultiLine" Width="260px" ToolTip="选填"></asp:TextBox></td>
</tr>
</table>
</div>
<table style="width: 514px">
<tr>
<td style="width: 194px; height: 26px; text-align: right">
<asp:Button ID="btnadd" runat="server" OnClick="btnadd_Click" Text="提 交" /></td>
<td style="width: 100px; height: 26px; text-align: center">
<asp:Button ID="btncancel" runat="server" OnClick="btncancel_Click" Text="取 消" /></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -