admin_login.aspx

来自「一个还不错的在线考试系统大家想要做毕业设计的可以下来参考下」· ASPX 代码 · 共 54 行

ASPX
54
字号
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_Login.aspx.cs" Inherits="Web_admin_Login" %>

<!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 leftmargin=0 rightmargin=0 topmargin=0>
    <form id="form1" runat="server">
    <div>
    <table border=0 bgColor="#f1f0f4" width=100% align=center height=100%>
        <tr>
            <td>
                <table style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse; " cellspacing="0" cellpadding="1" width=250 align="center"
				 border="1" bgColor="#f1f0f4" bordercolor=gray>
				<tr height=40>
					<td colspan="2">						
						<img height="25" src="../Images/ico_Xp03.gif"><font color=#4D2600><b>后台管理</b></font>
					</td>
				</tr>							
				<tr>
					<td height="30" align=right width=50>帐号:</td>
					<td height="30">						
							<asp:TextBox id="txtUserID" runat="server" MaxLength="20" Width="120px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserID"
                            ErrorMessage="不能为空!"></asp:RequiredFieldValidator></td>
				</tr>
				<TR>
					<TD align=right height="30">密码:</TD>
					<TD height="30">
						<asp:TextBox id="txtPwd"  runat="server" MaxLength="20" TextMode="Password" Width="120px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPwd"
                            ErrorMessage="不能为空!"></asp:RequiredFieldValidator></TD>
				</TR>
				<tr height=50>
					<td align=center colspan="2">
                        <asp:Label ID="lblMessage" runat="server" ForeColor=red></asp:Label><br />
						<asp:ImageButton ID="imgBtnLogin" runat="server" ImageUrl="~/Images/Login.GIF" OnClick="imgBtnLogin_Click" />
					</td>
				</tr>
			</table>
            </td>
        </tr>
    </table>
    
    </div>
    </form>
    
    <a href="http://www.cnzz.cn/" target="_blank" title="中国站长">download from cnzz.cn</a>

</body>
</html>

⌨️ 快捷键说明

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