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

📄 compare.aspx

📁 一个网上书店的源码
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Compare.aspx.cs" Inherits="Compare" %>

<!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>
    <form id="form1" runat="server">
       &nbsp;<asp:TextBox ID="txtUserName" runat="server" style="z-index: 100; left: 135px; position: absolute; top: 55px"></asp:TextBox>
        <asp:Label ID="lblName" runat="server" Style="z-index: 101; left: 38px; position: absolute;
            top: 57px" Text="用户名" Width="77px"></asp:Label>
        <asp:Label ID="lblPass" runat="server" Height="18px" Style="z-index: 102; left: 39px;
            position: absolute; top: 89px" Text="密码" Width="72px"></asp:Label>
        <asp:Label ID="lblPassTwo" runat="server" Height="18px" Style="z-index: 103; left: 40px;
            position: absolute; top: 124px" Text="确认密码" Width="72px"></asp:Label>
        <asp:TextBox ID="txtPassWord" runat="server" Style="z-index: 104; left: 136px; position: absolute;
            top: 87px" TextMode="Password" Width="147px"></asp:TextBox>
        <asp:TextBox ID="txtPassTwo" runat="server" Style="z-index: 105; left: 137px; position: absolute;
            top: 120px" TextMode="Password" Width="147px"></asp:TextBox>
        <asp:Button ID="btnSubmit" runat="server" Height="26px" OnClick="btnSubmit_Click"
            Style="z-index: 106; left: 138px; position: absolute; top: 181px" Text="确认" Width="103px" />
        <asp:RequiredFieldValidator ID="rfvPass" runat="server" ControlToValidate="txtPassWord"
            ErrorMessage="请输入密码" Height="21px" Style="z-index: 107; left: 297px; position: absolute;
            top: 87px" Width="100px"></asp:RequiredFieldValidator>
        &nbsp;
        <asp:RequiredFieldValidator ID="rfvName" runat="server" ControlToValidate="txtUserName"
            ErrorMessage="请输入用户名" Style="z-index: 108; left: 299px; position: absolute; top: 56px"></asp:RequiredFieldValidator>
        <asp:Label ID="lblMessage" runat="server" Style="z-index: 109; left: 41px; position: absolute;
            top: 152px" Width="353px"></asp:Label>
        <asp:CompareValidator ID="cvPass" runat="server" ControlToCompare="txtPassWord"
            ControlToValidate="txtPassTwo" ErrorMessage="两次密码输入要一致" Style="z-index: 111; left: 298px;
            position: absolute; top: 123px"></asp:CompareValidator>
    </form>
</body>
</html>

⌨️ 快捷键说明

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