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

📄 register.aspx

📁 随着计算机科学的发展
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="register.aspx.cs" Inherits="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>
    <style type="text/css">
<!--
.STYLE3 {font-size: 12px; font-family: "宋体";text-aligh:right; }
.STYLE4 {
	font-family: "隶书";
	font-size: 14pt;
	color: #0000ff;
}
.STYLE6 {font-size: 12px}
-->
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center">
        <table width="76%" style="width: 70%; text-align: center">
            <tr>
                <td width="94" style="width: 69px; height: 23px">                </td>
                <td width="229" style="width: 129px; height: 23px; text-align: left">
              <asp:Label ID="Label1" runat="server" Style="font-size: 14pt; color: red" Width="124px"></asp:Label></td>
                <td style="width: 100px; height: 23px">                </td>
            </tr>
            <tr>
                <td style="width: 69px; height: 50px;">                </td>
                <td style="width: 129px; height: 50px; text-align: left;"><span class="STYLE4">填写个人资料</span></td>
                <td style="width: 100px; height: 50px;">                </td>
            </tr>
            <tr>
                <td style="font-size: 12pt; width: 69px; font-family: 宋体; height: 26px; "><div align="right"><span class="STYLE3">
                  用户名</span></div></td>
                <td style="width: 129px; height: 26px; ">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
                <td style="width: 100px; height: 26px">
                    <span class="STYLE6">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                        ErrorMessage="用户名不能为空!" Width="132px"></asp:RequiredFieldValidator>
                    </span></td>
            </tr>
            <tr>
                <td style="width: 69px; height: 26px;"><div align="right"><span class="STYLE3">
                  密码</span></div></td>
                <td style="width: 129px; text-align: left; height: 26px;">
                    <asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox></td>
                <td style="width: 100px; height: 26px;">                </td>
            </tr>
            <tr>
                <td style="width: 69px; height: 28px;"><div align="right"><span class="STYLE3">
                 确认密码</span></div></td>
                <td style="width: 129px; text-align: left; height: 28px;">
                    <asp:TextBox ID="TextBox3" runat="server" TextMode="Password"></asp:TextBox></td>
                <td style="width: 100px; height: 28px;">
                    <span class="STYLE6">
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2"
                        ControlToValidate="TextBox3" ErrorMessage="两次密码不一致!" Width="138px"></asp:CompareValidator>
                    </span></td>
            </tr>
            <tr>
                <td style="width: 69px; height: 22px; text-align: right">
                    <div align="right"><span class="STYLE3">
                    性别</span></div></td>
                <td style="width: 129px; height: 22px; text-align: left">
                    <asp:RadioButton ID="RadioButton1" runat="server" Text="男" style="font-size: 10pt" />
                    <asp:RadioButton ID="RadioButton2" runat="server" Text="女" style="font-size: 10pt" /></td>
                <td style="width: 100px; height: 22px">                </td>
            </tr>
            <tr>
                <td style="width: 69px; height: 26px;">
                    <div align="right"><span class="STYLE3">电子邮件</span></div></td>
                <td style="width: 129px; height: 26px; text-align: left">
                    <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox></td>
                <td style="width: 100px; height: 26px; text-align: left;">
                    <span class="STYLE6">
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox4"
                        ErrorMessage="格式错误!" ValidationExpression=".{1,}@.{3,}"></asp:RegularExpressionValidator>
                    </span></td>
            </tr>
            <tr>
                <td style="width: 69px">                </td>
                <td style="width: 129px">                </td>
                <td style="width: 100px">                </td>
            </tr>
            <tr>
                <td style="width: 69px">                </td>
                <td style="width: 129px; text-align: left">
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="提交" />
                    <asp:Button ID="Button2" runat="server" Text="重填" /></td>
                <td style="width: 100px">                </td>
            </tr>
      </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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