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

📄 login.aspx

📁 前台首页:users/index.aspx 后台首页:login.aspx 这是一个有关宠物的电子商务网站 注:后台的“售后服务” 和“数据统计”这两块由于时间原因暂时 没完成。由于技术问
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="text" %>

<!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>
<center>
<h1>
电子商务网站后台管理
</h1>
</center>
    <form id="form1" runat="server">
    <div>
    <center>
        &nbsp;</center>
        <center>
            &nbsp;</center>
        <center>
        <table>
        <tr>
        <td style="width: 608px; height: 201px" valign="top">
            <asp:Image ID="Image1" runat="server" Height="199px" ImageUrl="imge/1.jpg"
                Width="587px" AlternateText="1.jpg" /></td>
        </tr>
        </table>
        <table>
        <tr>
        <td colspan=1 style="background-image: url(imge/8.jpg); height: 27px" align="center" valign="middle">
        </td>
        <td style="height: 27px; background-color: #998bff">
        </td>
        </tr>
        <tr>
        <td style="width: 442px; height: 134px;">
       
     <table border=1>
    <tr>
    <td style="height: 23px; width: 127px;">
    用户名:
    </td>
     <td style="width: 94px; height: 23px">
         <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
         </td>
         <td style="width: 180px; height: 23px;">
             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox2"
                 ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                 </td>
     </tr>
    <tr>
    <td style="height: 14px; width: 127px;">
    密码:
    </td>
    <td style="width: 94px; height: 14px;">
        <asp:TextBox ID="TextBox3" runat="server" TextMode="Password"></asp:TextBox>
        </td>
             <td style="width: 180px; height: 14px;">
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox3"
                     ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator>
                     </td>
    </tr>
    <tr>
    <td style="width: 127px;">
    验证码:
    </td>
    <td style="width: 94px;">
        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox></td>
             <td style="width: 180px">
                 <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox1"
                     ControlToValidate="TextBox4" ErrorMessage="CompareValidator">验证码不一致</asp:CompareValidator></td>
    </tr>
 
    </table>
    <asp:TextBox ID="TextBox1" runat="server" BackColor="#C00000" BorderColor="Black" Width="86px"></asp:TextBox>
    <table>
        <tr>
        <td style="width: 104px">
            <asp:Button ID="Button1" runat="server" Text="登录" OnClick="Button1_Click" Width="65px" />
            </td>
            <td style="width: 102px">
            <asp:Button ID="Button2" runat="server" Text="重置" OnClick="Button2_Click" Width="68px" CausesValidation="False" />
            </td>
            </tr>
        </table>
         </td>
         <td style="width: 7px; background-color: darkgray; height: 134px;" align="right" valign="top">
             </td>
        </tr>
        </table>
        <table>
        <tr>
      
        <td style="width: 484px; height: 3px;" align="left" valign="top">
            <asp:Image ID="Image2" runat="server" Height="27px" ImageUrl="imge/6.jpg"
                Width="480px" AlternateText="img 2" />&nbsp;
        </td >
        </tr>
        </table>
        </center>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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