⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.aspx

📁 本程序基于 asp.net 2.0 +sql server 2
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" EnableTheming="false" Theme="" %>

<!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  onload ="load();">
    <form id="form1" runat="server">
    <div style="font-size: 11pt">
        <table style="width: 282px; height: 86px">
            <tr>
                <td style="width: 71px">
                    用户名:</td>
                <td style="width: 184px">
                    <asp:TextBox ID="tb_username" runat="server" Width="150px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 71px; height: 23px">
                    密 码:</td>
                <td style="width: 184px; height: 23px">
                    <asp:TextBox ID="tb_password" runat="server" TextMode="Password" Width="150px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="text-align: right;" colspan="2">
                    &nbsp;<asp:Button ID="Button1" runat="server" OnClick="btnLogin_Click" Style="border-top-style: none;
                        border-right-style: none; border-left-style: none; background-color: transparent;
                        border-bottom-style: none; font-size: 11pt; color: #3300ff;" Text="用户登录" />
                    &nbsp;<asp:Button ID="Button2" runat="server" OnClick="btn_forget_pass_Click" Style="border-top-style: none;
                        border-right-style: none; border-left-style: none; background-color: transparent;
                        border-bottom-style: none; font-size: 11pt; color: #3300ff;" Text="忘记密码" />
                    &nbsp; &nbsp;&nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
<script type ="text/javascript">
function load()
{
document.body.onkeypress = capKey;
}
function capKey()
{
  if (event.keyCode == 27) { window.close(); return; }

}
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -