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

📄 register.aspx

📁 在线小说阅读
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="register.aspx.cs" Inherits="novel.manage.register" %>

<!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 background="../image/background.jpg">
    <form id="form1" runat="server">
    <div style="text-align: center">
        <table border="1"  style="width: 581px; height: 1px; text-align: left;">
            <tr>
                <td colspan="4" style="text-align: center; height: 18px;">
                    <span style="font-size: 12px">用户注册</span></td>
            </tr>
            <tr>
                <td style="width: 145px; height: 21px; text-align: left;">
                    <span style="font-size: 12px">用户名:</span></td>
                <td style="width: 158px; height: 21px">
                    <asp:TextBox ID="Text_name" runat="server"></asp:TextBox></td>
                <td style="width: 274px; height: 21px; text-align: left;">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入用户名"
                        Font-Size="12px" ControlToValidate="Text_name"></asp:RequiredFieldValidator></td>
                <td style="width: 592px; height: 21px; text-align: left;">
                    <span style="font-size: 12px">用户名须在10字符以内,支持非空格字符组合</span></td>
            </tr>
            <tr>
                <td style="width: 145px; height: 21px; text-align: left;">
                    <span style="font-size: 12px">密码:</span></td>
                <td style="width: 158px; height: 21px">
                    <asp:TextBox ID="Text_password" runat="server" TextMode="Password" Width="147px"></asp:TextBox></td>
                <td style="width: 274px; height: 21px; text-align: left;">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入密码"
                        Font-Size="12px" ControlToValidate="Text_password"></asp:RequiredFieldValidator></td>
                <td style="width: 592px; height: 21px; text-align: left;">
                    <span style="font-size: 12px">长度为4-10的字符,支持非空格字符组合</span></td>
            </tr>
            <tr>
                <td style="width: 145px; height: 21px; text-align: left;">
                    <span style="font-size: 12px">确认密码:</span></td>
                <td style="width: 158px; height: 21px">
                    <asp:TextBox ID="Text_password1" runat="server" TextMode="Password" Width="149px"></asp:TextBox></td>
                <td style="width: 274px; height: 21px; text-align: left;">
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="两次密码不一致"
                        Font-Size="12px" ControlToCompare="Text_password" ControlToValidate="Text_password1"></asp:CompareValidator></td>
                <td style="width: 592px; height: 21px; text-align: left;">
                </td>
            </tr>
            <tr>
                <td style="width: 145px; height: 21px; text-align: left;">
                    <span style="font-size: 12px">电子邮件:</span></td>
                <td style="width: 158px; height: 21px">
                    <asp:TextBox ID="Text_mail" runat="server"></asp:TextBox></td>
                <td style="width: 274px; height: 21px">
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="邮箱地址格式错误"
                        Font-Size="12px" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="Text_mail"></asp:RegularExpressionValidator></td>
                <td style="width: 592px; height: 21px; text-align: left;">
                    <span style="font-size: 12px">请填写您有效的E-MAIL</span></td>
            </tr>
            <tr>
                <td style="width: 145px; height: 21px; text-align: left;">
                    <span style="font-size: 12px">验证码:</span></td>
                <td style="width: 158px; height: 21px">
                    <asp:Image ID="Image1" runat="server" ImageUrl="check.aspx" />
                    <asp:TextBox ID="Text_val" runat="server" Width="116px"></asp:TextBox></td>
                <td style="width: 274px; height: 21px; text-align: left;">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="请输入验证码"
                        Font-Size="12px" ControlToValidate="Text_val"></asp:RequiredFieldValidator></td>
                <td style="width: 592px; height: 21px; text-align: left;">
                </td>
            </tr>
            <tr>
                <td colspan="4" style="height: 21px; text-align: left;">
                    <asp:CheckBox ID="CheckBox1" runat="server" Checked="True" Font-Size="12px" Text="我已经阅读并同意《用户服务协议》" /></td>
            </tr>
            <tr>
                <td colspan="4" style="height: 21px; text-align: center">
                    <asp:Button ID="Button1" runat="server" Font-Size="12px" Text="注册" OnClick="Button1_Click" />&nbsp;
                    <asp:Button ID="Button2" runat="server" Font-Size="12px" Text="取消" OnClick="Button2_Click" /></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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