📄 login.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="liuyan_Login" %>
<!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="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center">
<form id="form1" runat="server">
<div>
<table style="width: 519px">
<tr>
<td colspan="3">
<img src="bodypic/tops.gif" /></td>
</tr>
<tr>
<td colspan="2">
<strong><span style="color: #00ccff">管理员登陆</span></strong></td>
</tr>
<tr>
<td colspan="2" style="height: 26px; text-align: center">
用户名:<asp:TextBox ID="txtUsername" runat="server" CssClass="txtbox1" Width="131px"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2" style="text-align: center">
输密码:<asp:TextBox ID="txtPassword" runat="server" CssClass="txtbox1" TextMode="Password"
Width="133px"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2" style="text-align: center">
<asp:Label ID="lblNote" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label></td>
</tr>
<tr>
<td colspan="2" style="text-align: center; height: 26px;">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="登陆" Width="61px" />
<asp:Button ID="Button2" runat="server" Text="改密码" Width="61px" OnClick="Button2_Click" /></td>
</tr>
<tr>
<td colspan="2" style="text-align: center; height: 335px;">
<asp:Panel ID="Panel1" runat="server" Height="180px" Visible="False">
<table style="width: 423px; border-right: #00ccff thin double; border-top: #00ccff thin double; border-left: #00ccff thin double; border-bottom: #00ccff thin double; height: 212px;">
<tr>
<td colspan="3">
修改用户名和密码</td>
</tr>
<tr>
<td style="width: 126px">
用户名</td>
<td>
<asp:TextBox ID="txtName" runat="server" CssClass="txtbox1" Width="131px"></asp:TextBox></td>
<td>
</td>
</tr>
<tr>
<td style="width: 126px">
旧密码</td>
<td>
<asp:TextBox ID="txtPass" runat="server" CssClass="txtbox1" TextMode="Password" Width="131px"></asp:TextBox></td>
<td>
</td>
</tr>
<tr>
<td style="width: 126px">
新密码</td>
<td>
<asp:TextBox ID="txtPass1" runat="server" CssClass="txtbox1" TextMode="Password"
ToolTip="输入新密码" Width="131px"></asp:TextBox></td>
<td>
<asp:TextBox ID="txtPass2" runat="server" CssClass="txtbox1" TextMode="Password"
ToolTip="再次输入新密码" Width="131px"></asp:TextBox></td>
</tr>
<tr>
<td colspan="3">
<span style="color: black">(以上密码需要输入两次)</span></td>
</tr>
<tr>
<td colspan="3">
<asp:Label ID="lblNote1" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label></td>
</tr>
<tr>
<td colspan="3">
<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="确认修改" /></td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
<tr>
<td colspan="2" style="height: 25px; background-color: #e4ffff; text-align: right">
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -