📄 login1.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login1.aspx.cs" Inherits="login1" EnableViewState ="false" %>
<!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 title="登录">
<asp:Image ID="Image2" runat="server" Height="42px" ImageUrl="~/images/1t1.gif" Width="938px" /> <br />
<asp:Image ID="Image1" runat="server" Height="465px" ImageUrl="~/images/1t6.gif"
Width="939px" />
<div style="z-index: 101; left: 236px; width: 388px; position: absolute; top: 196px;
height: 198px">
<table style="width: 362px; height: 212px">
<tr>
<td style="font-size: 12px; width: 100px; height: 17px">
</td>
<td style="font-size: 12px; width: 100px; height: 17px">
</td>
<td style="font-size: 12px; width: 100px; height: 17px">
</td>
</tr>
<tr>
<td style="font-size: 12px; width: 100px">
<asp:Label ID="Label5" runat="server" Height="12px" Text="用户名:"></asp:Label></td>
<td style="font-size: 12px; width: 100px">
<asp:TextBox ID="txtName" runat="server" Height="20px" Width="112px" MaxLength="20" Font-Size="12px"></asp:TextBox></td>
<td style="font-size: 12px; width: 100px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
ErrorMessage="用户名不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="font-size: 12px; width: 100px">
<asp:Label ID="Label6" runat="server" Height="12px" Text="密 码:" Width="42px"></asp:Label></td>
<td style="font-size: 12px; width: 100px">
<asp:TextBox ID="txtPwd" runat="server" Height="20px" TextMode="Password" Width="113px" MaxLength="16" Font-Size="12px"></asp:TextBox></td>
<td style="font-size: 12px; width: 100px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPwd"
ErrorMessage="密码不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="font-size: 12px; width: 100px">
</td>
<td style="font-size: 12px; width: 100px">
<asp:CheckBox ID="CheckBox2" runat="server" Text="下次记住我" Width="134px" /></td>
<td style="font-size: 12px; width: 100px">
</td>
</tr>
<tr>
<td style="font-size: 12px; width: 100px">
</td>
<td style="font-size: 12px; width: 100px">
<asp:Button ID="btnLogin" runat="server" OnClick="btnLogin_Click1" Text="登录" />
<asp:Button ID="btnCancle" runat="server" OnClick="btnCancle_Click" Text="取消" /></td>
<td style="font-size: 12px; width: 100px">
</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -