📄 adminlogin.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="adminlogin.aspx.cs" Inherits="adminsss_adminlogin" %>
<!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 style="background-image: url(../imgs/bg.jpg); background-repeat: repeat">
<form id="form1" runat="server">
<div>
<div style="z-index: 101; background-attachment: scroll; left: 197px; background-image: url(../imgs/Peace.jpg);
width: 762px; position: relative; top: 247px; height: 456px">
<asp:Label ID="Label1" runat="server" Style="left: 275px; position: relative; top: 153px"
Text="管理员"></asp:Label>
<asp:Label ID="Label2" runat="server" Style="left: 234px; position: relative; top: 193px"
Text="密码"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server" Style="left: 250px; position: relative;
top: 152px"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server" Style="left: 90px; position: relative;
top: 195px" TextMode="Password" Width="153px"></asp:TextBox>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="left: 18px;
position: relative; top: 236px" Text="登陆" />
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/s.mdb"
SelectCommand="SELECT * FROM [adminuser] WHERE (([passport] = ?) AND ([password] = ?))">
<SelectParameters>
<asp:ControlParameter ControlID="TextBox1" Name="passport" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="TextBox2" Name="password" PropertyName="Text" Type="String" />
</SelectParameters>
</asp:AccessDataSource>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -