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

📄 register.aspx

📁 网上书店 含用户注册
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="register.aspx.cs" Inherits="_Default" %>

<%@ Register Src="top.ascx" TagName="top" TagPrefix="uc2" %>

<%@ Register Src="di.ascx" TagName="di" TagPrefix="uc1" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>注册页面</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
<!--
body {
	background-color: #009900;
}
-->
</style></head>
<body style="background-color: #009900">
    <form id="form1" runat="server">
    <div>
        <div style=" background-color: #009900;">
            <div style="text-align: center; background-color: #009900;">
                <table border="0" cellpadding="0" cellspacing="0" style="width:778px; height: 200px; background-color: #009900;">
                    <tr>
                        <td colspan="3" style="height: 2px; text-align: center; vertical-align: top; background-color: #009900;">
                            <div style="text-align: center">
                                <uc2:top ID="Top1" runat="server" />
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" style="text-align: center; height: 18px;">
                            <strong><span style="font-size: 16pt; font-family: 宋体; color: #ff0000; background-color: #009900;">欢迎注册本商城会员 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                &nbsp; &nbsp;&nbsp;
                                <br />
                                <br />
                            </span></strong></td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td style="width: 1051px; text-align: center">
                            <span style="font-family: 新宋体">
                        用户姓名:<asp:TextBox ID="TextBox1" runat="server" Height="25px" Width="150px" OnTextChanged="TextBox1_TextChanged"></asp:TextBox></span></td>
                        <td style="width: 784px; text-align: left">
                            <asp:Button ID="jiance" runat="server" OnClick="jiance_Click" Text="检测是否可用" Height="29px" ValidationGroup="1" Width="117px" />
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                            ErrorMessage="不能为空" Height="20px" Width="69px" Display="Dynamic" ValidationGroup="1"></asp:RequiredFieldValidator></td>
                        <td rowspan="9" style="width: 998px">
                            &nbsp; &nbsp; &nbsp;&nbsp;</td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td style="width: 1051px; height: 19px; text-align: center">
                            <span style="font-family: 新宋体">
                        密 &nbsp; &nbsp;码:<asp:TextBox ID="TextBox2" runat="server" Height="25px" TextMode="Password" Width="150px"></asp:TextBox></span></td>
                        <td style="width: 784px; height: 19px; text-align: left">
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox2"
                                ErrorMessage="RegularExpressionValidator" ValidationExpression=".{6,12}">密码为6~12位</asp:RegularExpressionValidator></td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td style="width: 1051px; height: 19px; text-align: center">
                            <span style="font-family: 新宋体">确认密码:<asp:TextBox ID="TextBox3" runat="server" Height="25px" TextMode="Password" Width="150px"></asp:TextBox></span></td>
                        <td style="width: 784px; height: 19px; text-align: left">
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2"
                            ControlToValidate="TextBox3" ErrorMessage="两次输入密码不一致" Height="20px" Display="Dynamic" Width="147px"></asp:CompareValidator></td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td style="width: 1051px; text-align: center">
                            <span style="font-family: 新宋体">
                        真实姓名:<asp:TextBox ID="TextBox4" runat="server" Height="25px" Width="150px"></asp:TextBox></span></td>
                        <td style="width: 784px; text-align: left">
                        </td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td style="width: 1051px; height: 22px; text-align: center">
                            <span style="font-family: 新宋体">
                        地&nbsp; &nbsp; 址:
                        <asp:TextBox ID="TextBox5" runat="server" Height="25px" Width="150px"></asp:TextBox></span></td>
                        <td style="font-size: 12pt; width: 784px; height: 22px; text-align: left">
                        </td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td style="width: 1051px; text-align: center; height: 18px;">
                            <span style="font-family: 新宋体">
                        电 &nbsp; &nbsp;话:<asp:TextBox ID="TextBox6" runat="server" Height="25px" Width="150px"></asp:TextBox></span></td>
                        <td style="width: 784px; height: 18px; text-align: left">
                        </td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td style="width: 1051px; text-align: center">
                            <span style="font-family: 新宋体">
                        邮 &nbsp; &nbsp;箱:<asp:TextBox ID="TextBox7" runat="server" Height="25px" Width="150px"></asp:TextBox></span></td>
                        <td style="width: 784px; text-align: left">
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox7"
                            ErrorMessage="邮箱格式不对" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic" Width="97px"></asp:RegularExpressionValidator><asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox7"
                            ErrorMessage="不能为空" Display="Dynamic" Width="65px"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td style="width: 1051px; text-align: center">
                            <span style="font-family: 新宋体">
                        性 &nbsp; &nbsp;别:<asp:RadioButton ID="boy" runat="server" Checked="True" GroupName="1" Text="男" Width="56px" />
                                &nbsp; &nbsp;
                        <asp:RadioButton ID="girl" runat="server" GroupName="1" Text="女" Width="54px" /></span></td>
                        <td style="width: 784px">
                        </td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td style="width: 1051px; text-align: center">
                            <span style="font-family: 新宋体">形象照片:<asp:FileUpload ID="FileUpload1" runat="server" Width="149px" /></span></td>
                        <td style="width: 784px">
                            </td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td colspan="3" style="text-align: center">
                            <br />
                        <asp:Button ID="tijiao" runat="server" Height="25px" OnClick="tijiao_Click" Text="提交"
                            Width="65px" />
                        &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <asp:Button ID="report" runat="server"
                            Height="25px" OnClick="report_Click" Text="重写" Width="65px" />
                           <br />
                            <br />
                            <br />
                            </td>
                    </tr>
                </table>
            </div>
            
            <div style="text-align: center">
                <table border="0" cellpadding="0" cellspacing="0" width="778" style="background-color: #009900">
                    <tr>
                        <td align="center" style="width: 10%; height: 19px">
                        </td>
                        <td align="center" style="width: 80%; height: 19px">
                            <uc1:di ID="Di1" runat="server" />
                        </td>
                        <td align="center" style="width: 100%; height: 19px">
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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