📄 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>
<br />
<table align="center" cellpadding="0" cellspacing="0" style="width: 247px">
<tr>
<td rowspan="1" style="width: 16px; text-align: center">
</td>
<td align="left" bgcolor="#00ffff" colspan="3" style="height: 25px; text-align: center">
<asp:Label ID="Label1" runat="server" Font-Size="9pt" Text="会员注册" Font-Bold="True" Width="118px"></asp:Label></td>
</tr>
<tr>
<td rowspan="2" style="width: 16px; text-align: center">
</td>
<td align="left" style="width: 84px; height: 25px; text-align: left;">
<asp:Label ID="labLoginName" runat="server" Font-Size="9pt" Text="用户名称:" Width="60px"></asp:Label></td>
<td align="left" style="width: 28px; height: 25px; text-align: left">
<asp:TextBox ID="txtLoginName" runat="server" Font-Size="9pt" Width="146px"></asp:TextBox>
</td>
<td align="left" style="height: 25px">
<asp:RequiredFieldValidator ID="rfvLoginName" runat="server" ControlToValidate="txtLoginName"
Font-Size="9pt" Height="1px" Width="85px">用户名不能空!</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="left" style="width: 84px; height: 9px; text-align: left;">
<asp:Label ID="labPwd" runat="server" Font-Size="9pt" Text="用户密码:" Width="61px"></asp:Label></td>
<td align="left" style="width: 28px; height: 9px; text-align: left">
<asp:TextBox ID="txtPwd" runat="server" Width="143px" TextMode="Password"></asp:TextBox>
</td>
<td align="left" style="height: 9px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="密码不能为空!"
Font-Size="9pt" Width="85px" ControlToValidate="txtPwd"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td colspan="4" rowspan="1" style="height: 29px; text-align: center" bgcolor="#00ffff">
<asp:Button ID="Button1" runat="server" Text="注册" Width="61px" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="清空" Width="51px" OnClick="Button2_Click" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -