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

📄 login.aspx

📁 基于web开发的售票系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="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>
    <link rel=stylesheet href=all.css type="text/css" >
</head>
<body  style="cursor: crosshair; color: #9966ff;" bgcolor="#00bfff" text="#66ffff" vlink="#00ffff" alink="#6699ff">
    <form id="form1" runat="server">
    <div class="logindiv">
        <div style="text-align: center">
            &nbsp;<asp:Label ID="Label1" runat="server" BackColor="DeepSkyBlue" Font-Size="XX-Large"
                ForeColor="Blue" Height="37px" Style="left: 15px; position: relative; top: 108px"
                Text="欢迎使用web售票系统" Width="444px"></asp:Label>&nbsp;
            <table class="logintable"  border="0" cellpadding="0" cellspacing="0"  style="left: 16px; position: relative; top: 108px; height: 122px; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none; color: #3333ff;">
                <tr>
                    <td align="center" style="width: 73px; height: 28px; background-color: #33ccff">
                        用户名:</td>
                    <td align="center" style="width: 222px; height: 28px; background-color: #33ccff">
                        <asp:TextBox ID="txtname" runat="server" Style="position: relative; left: 0px; top: 0px;" TabIndex="1" Width="147px"></asp:TextBox></td>
                    <td align="center" style="width: 140px; height: 28px; background-color: #33ccff">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtname"
                            ErrorMessage="用户名不能为空!" Style="position: relative">用户名不能为空!</asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="center" style="width: 73px; height: 38px; background-color: #33ccff">
                        密码:</td>
                    <td align="center" style="width: 222px; height: 38px; background-color: #33ccff">
                        <asp:TextBox ID="txtpwd" runat="server" Style="left: 1px; position: relative; top: 0px"
                            TabIndex="2" TextMode="Password" Width="147px"></asp:TextBox></td>
                    <td align="center" style="width: 140px; height: 38px; background-color: #33ccff">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtpwd"
                            ErrorMessage="密码不能为空!" Style="position: relative">密码不能为空!</asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="center" style="width: 73px; background-color: #33ccff">
                        确认:</td>
                    <td align="center" style="width: 222px; background-color: #33ccff">
                        <asp:TextBox ID="txtpwd2" runat="server" Style="left: 1px; position: relative; top: 0px"
                            TabIndex="3" TextMode="Password" Width="147px"></asp:TextBox></td>
                    <td align="center" style="width: 140px; background-color: #33ccff">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtpwd2"
                            ErrorMessage="密码不能为空!" Style="position: relative">请再次输入密码!</asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="center" style="width: 73px; height: 26px; background-color: #33ccff">
                    </td>
                    <td align="center" style="width: 222px; height: 26px; background-color: #33ccff">
                        &nbsp;<asp:Button ID="btclier" runat="server" CausesValidation="False" 
                            Style="left: 81px; position: relative; top: 0px; z-index: 101;" TabIndex="5" Text="清除" BackColor="LightSkyBlue" BorderStyle="None" OnClick="btclier_Click" />
                        <asp:Button ID="btnlogin" runat="server" Style="left: -91px;
                            position: relative; top: 0px; z-index: 102;" TabIndex="4" Text="登陆" BackColor="LightSkyBlue" BorderStyle="None" OnClick="btnlogin_Click" /></td>
                    <td align="center" style="width: 140px; height: 26px; background-color: #33ccff">
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtpwd"
                            ControlToValidate="txtpwd2" ErrorMessage="密码不一致!" Style="position: relative">密码不一致!</asp:CompareValidator></td>
                </tr>
            </table>
        </div>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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