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

📄 login.aspx

📁 一个简单的图书管理系统,赋有设计的说明书。可以实现一般的管理操作。
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Mylibrary" %>


<!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(image/2005617193712391.jpg)" topmargin="50" >
    <form id="form1" runat="server">
    <div align="center" >
        &nbsp;<table border="0" cellpadding="0" cellspacing="0" style="border-bottom-width: medium;
            border-bottom-color: royalblue; width: 403px">
            <tr>
                <td align="left" style="border-right: 0px; border-top: 0px; border-left: 0px; width: 149px;
                    color: black; border-bottom: 0px; height: 20px">
                    <asp:Label ID="Label1" runat="server" BackColor="RoyalBlue" Font-Size="X-Large" ForeColor="White"
                        Text="用户登录"></asp:Label></td>
            </tr>
        </table>
        <table border="0" cellspacing="4" style="border-right: royalblue solid; border-top: royalblue solid;
            font-size: 12pt; visibility: visible; border-left: royalblue solid; color: #000000;
            border-bottom: royalblue solid">
            <tr>
                <td align="left" style="color: #000000; height: 31px">
                    用户名:
                </td>
                <td align="left" style="width: 317px; height: 28px">
                    <asp:TextBox ID="tbUserID" runat="server" Width="157px"></asp:TextBox>*
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbUserID"
                        ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
            </tr>
            <tr style="color: #000000">
                <td align="left" style="color: #000000; height: 31px">
                    密码:</td>
                <td align="left" style="width: 317px; height: 28px">
                    <asp:TextBox ID="tbPassword" runat="server" TextMode="Password" Width="156px"></asp:TextBox>
                    *<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbPassword"
                        ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="height: 26px">
                    &nbsp;
                    <asp:Button ID="LoginBt" runat="server" BackColor="RoyalBlue" ForeColor="White" OnClick="LoginBt_Click"
                        Text="确定" Width="67px" />
                    &nbsp; &nbsp;&nbsp; &nbsp;<asp:Button ID="CancleBt" runat="server" BackColor="RoyalBlue"
                        ForeColor="White" OnClick="CancleBt_Click" Text="取消" Width="65px" />
                    &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;</td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="height: 21px">
                    <asp:Label ID="Message" runat="server" ForeColor="Red" Text="Sara"></asp:Label></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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