📄 login.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="false" Buffer="false" 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>
<link href="css.css" type="text/css" rel="Stylesheet" />
</head>
<body>
<form id="form1" runat="server">
<div>
<table id="__01" width="992" height="571" border="0" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="3">
<img src="images/2_01.jpg" width="568" height="571" alt=""/></td>
<td colspan="2">
<img src="images/2_02.jpg" width="424" height="237" alt=""/></td>
</tr>
<tr>
<td>
<table width="374" height="184">
<tr>
<td width="100%" valign="top">
<table width="100%">
<tr>
<td width="35%" align="right">
员工号:</td>
<td>
<asp:TextBox ID="tname" runat="server" Width="135px"></asp:TextBox>
<asp:RequiredFieldValidator ID="r1" runat="server" ControlToValidate="tname" Display="Dynamic"
ErrorMessage="用户名不能为空">*</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="re1" runat="server" ControlToValidate="tname"
ErrorMessage="用户名为员工编号!" ValidationExpression="^[0-9]*$">*</asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right">
密 码:</td>
<td>
<asp:TextBox ID="tpass" runat="server" Width="134px" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="r2" runat="server" ControlToValidate="tpass" ErrorMessage="m密码不能为空">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right">
验证码:</td>
<td>
<asp:TextBox ID="tpassagain" runat="server" Width="87px"></asp:TextBox>
<asp:ImageButton ID="image" runat="server" ImageUrl="~/image.aspx" ValidationGroup="image" /></td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button ID="btn_login" runat="server" Text="登录" BackColor="#83B518" Width="55px" OnClick="btn_login_Click" />
<asp:Button ID="btn_cancel" runat="server" Text="取消" BackColor="#83B518" Width="51px" ValidationGroup="btn_cancel" OnClick="btn_cancel_Click" /></td>
</tr>
</table>
<asp:ValidationSummary ID="vsummary" runat="server" ShowMessageBox="True"
ShowSummary="False" />
</td>
</tr>
</table>
</td>
<td>
<img src="images/2_04.jpg" width="50" height="184" alt=""/></td>
</tr>
<tr>
<td colspan="2">
<img src="images/2_05.jpg" width="424" height="150" alt=""/></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -