📄 login.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.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 style="text-align: center">
<br />
<br />
<br />
<br />
<br />
<table style="background-position: center center; background-attachment: fixed; background-image: url(images/admin.gif);
width: 362px; height: 258px; text-align: center;">
<tr>
<td colspan="2" style="height: 91px; text-align: left">
<strong><span style="font-size: 16pt; color: #3333ff"></span></strong></td>
<td style="width: 112px; height: 91px">
</td>
</tr>
<tr>
<td style="width: 107px; height: 25px">
<asp:Label ID="Label1" runat="server" Height="16px" Text="用户名" Width="54px" style="font: messagebox; color: #ff3399"></asp:Label></td>
<td style="width: 77px; height: 25px">
<asp:TextBox ID="txtname" runat="server" Height="11px" ToolTip="请输入你用户名" Width="105px"></asp:TextBox></td>
<td style="width: 112px; height: 25px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtname"
ErrorMessage="RequiredFieldValidator" ForeColor="#8080FF" Height="13px" Style="font: messagebox">不能为空</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 107px; height: 25px">
<asp:Label ID="Label2" runat="server" Height="1px" Text="密 码" Width="50px" style="font: messagebox; color: #ff3399"></asp:Label></td>
<td style="width: 77px; height: 25px">
<asp:TextBox ID="txtpwd" runat="server" Height="11px" ToolTip="请输入你的密码" TextMode="Password" Width="105px"></asp:TextBox></td>
<td style="width: 112px; height: 25px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtpwd"
ErrorMessage="RequiredFieldValidator" ForeColor="#8080FF" Style="font: messagebox">不能为空</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td colspan="3" style="height: 52px">
<asp:ImageButton ID="btnok" runat="server" ImageUrl="~/images/btn_index_ok.gif" OnClick="btnok_Click" />
<asp:ImageButton ID="btncancel" runat="server" ImageUrl="~/images/btn_index_cancel.gif" OnClick="btncancel_Click" ValidationGroup="1" />
<asp:ImageButton ID="btnreg" runat="server" ImageUrl="~/images/btn_index_reg.gif" OnClick="btnreg_Click" ValidationGroup="1" /><br />
该源码下载自<a href="http://aspx.bcbbs.net" target="_blank">【编程联盟】</a>ASp.Net源码下载中心
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -