📄 default.aspx
字号:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" 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 background ="image/晴.jpg">
<form id="form1" runat="server" >
<div align=center>
<br />
<br />
<br />
<br />
<br />
<table border="0" cellpadding="0" cellspacing="0" width=50% align=center style="border-right: #0000ff 2px outset; border-top: #0000ff 2px outset; border-left: #0000ff 2px outset; border-bottom: #0000ff 2px outset">
<tr>
<td colspan="2" style="background-image: url(image/loginIn.gif); height: 77px" >
人事管理系统登录</td>
</tr>
<tr>
<td colspan="2" style="background-image: url(image/loginLine.gif); height: 11px">
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#ffffe1" style="height: 33px">
</td>
</tr>
<tr>
<td width =25% style="height: 32px" bgcolor="#ffffe1">
<img src="image/nc.gif" />
用户 :</td>
<td width=25% style="height: 32px" bgcolor="#ffffe1" align=left >
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="AccessDataSource1"
DataTextField="用户名" DataValueField="密码">
</asp:DropDownList><asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/db1.mdb"
SelectCommand="SELECT [用户名], [密码] FROM [登录表]"></asp:AccessDataSource>
</td>
</tr>
<tr>
<td width=25% style="height: 31px" bgcolor="#ffffe1">
<img src ="image/nc_2.gif" /> 密码 :</td>
<td width =25% style="height: 31px" bgcolor="#ffffe1" align=left>
<asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="AccessDataSource2"
DataTextField="密码" DataValueField="密码">
</asp:DropDownList><asp:AccessDataSource ID="AccessDataSource2" runat="server" DataFile="~/App_Data/db1.mdb"
SelectCommand="SELECT [密码], [用户名] FROM [登录表]"></asp:AccessDataSource>
</td>
</tr>
<tr>
<td width =25% style=" height: 36px;" bgcolor="#ffffe1" >
<img src ="image/14.gif" />
操作 :
</td>
<td width =25% style="height: 36px" bgcolor="#ffffe1" align=left>
<asp:Button ID="Button1" runat="server" Text="登录" />
<asp:Button ID="Button2" runat="server" Text="取消" />
</td>
</tr>
</table>
<asp:Label ID="Label2" runat="server" Width="416px" Text ="管理员:admin 密码:123 " ForeColor="Magenta"></asp:Label><br />
<asp:Label ID="Label3" runat="server" Width="416px" Text ="普通用户:abc 密码:123456 " ForeColor="Magenta"></asp:Label><br />
<asp:Label ID="Label1" runat="server" ForeColor="#FF80FF" Text="您输入的用户名和密码错误,请重新输入!"
Visible="False" Width="421px" ></asp:Label>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -