📄 login.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>
<%@ Register Src="Controls/header.ascx" TagName="header" TagPrefix="uc1" %>
<%@ Register Src="Controls/footer.ascx" TagName="footer" TagPrefix="uc2" %>
<!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>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<table border="0" cellpadding="0" cellspacing="0" style="width: 50%; position: relative;
text-align: center">
<tr>
<td>
<uc1:header ID="Header1" runat="server" />
</td>
</tr>
<tr>
<td>
<br />
<table border="0" cellpadding="0" cellspacing="0" style="width: 309px; position: relative; left: 0px; top: 0px; border-right: #99ccff 2px dotted; border-top: #99ccff 2px dotted; border-left: #99ccff 2px dotted; border-bottom: #99ccff 2px dotted;">
<tr>
<td style="font-weight: bolder; font-size: 14px; color: #00ccff; height: 29px;">
管理员登陆</td>
</tr>
<tr>
<td style="height: 32px">
用户名:<asp:TextBox ID="txtUserName" runat="server" Style="position: relative"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 32px">
密 码:<asp:TextBox ID="txtPwd" runat="server" Style="position: relative" Height="16px" TextMode="Password" Width="147px"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 32px">
<asp:Button ID="Button1" runat="server" Style="position: relative" Text="登陆" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Style="position: relative" Text="重置" /></td>
</tr>
<tr>
<td style="height: 15px; border-top: #99ccff 2px dotted;">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<uc2:footer ID="Footer1" runat="server" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -