login.aspx

来自「系统运行平台ASP.NET+ACCESS」· ASPX 代码 · 共 32 行

ASPX
32
字号
<%@ page language="C#" masterpagefile="Main.master" autoeventwireup="true" inherits="Admin_Login, App_Web_iry-deiq" title="管理员登陆" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHListWord" Runat="Server"><br />
    <table border="1" cellpadding="2" cellspacing="0" style="border-right: white 1px solid;
        border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid;
        border-collapse: collapse" width="400">
        <tr>
            <td colspan="3" style="height: 20px;">
                管理员登陆</td>
        </tr>
        <tr>
            <td style="width: 130px; text-align: right;">
                用户名:</td>
            <td colspan="2" style="text-align: left">
                <asp:TextBox ID="txtUsername" runat="server" EnableViewState="False" Height="16px" Width="150px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="ValidatorAdminName" runat="server" ControlToValidate="txtUsername"
                    Display="Dynamic" EnableViewState="False" ForeColor="White" SetFocusOnError="True">请填用户名!</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 130px; text-align: right;">
                密 &nbsp; 码:</td>
            <td colspan="2" style="text-align: left">
                <asp:TextBox ID="txtPassword" runat="server" EnableViewState="False" MaxLength="20" Height="16px" TextMode="Password" Width="150px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="ValidatorAdminPass" runat="server" ControlToValidate="txtPassword"
                    Display="Dynamic" EnableViewState="False" ForeColor="White" SetFocusOnError="True">请填写密码!</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:Button ID="btnLogin" runat="server" EnableViewState="False" Text="登陆" OnClick="btnLogin_Click" />&nbsp;
                <input id="Reset1" type="reset" value="重填" /></td>
        </tr>
    </table><br />
</asp:Content>

⌨️ 快捷键说明

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