CreatUser.aspx
上传用户:bhp852
上传日期:2022-07-12
资源大小:22k
文件大小:6k
- <%@ Page Language="VB" AutoEventWireup="false" CodeFile="CreatUser.aspx.vb" Inherits="reg" %>
- <!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">
- <asp:Panel ID="Panel10" runat="server" Height="64px" Style="left: 224px; position: relative;
- top: 0px" Visible="False" Width="168px" BackColor="White">
- <asp:Label ID="Label6" runat="server" Font-Size="X-Large" Height="32px" Style="position: relative"
- Text="恭喜您,注册成功!" Width="184px"></asp:Label>
- <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx" Style="left: 120px;
- position: relative; top: 8px">返回登录</asp:HyperLink></asp:Panel>
- <asp:Panel ID="Panel1" runat="server" BackColor="#00C0C0" BorderStyle="Double" Height="208px"
- Style="left: 136px; position: relative; top: 8px" Width="324px">
- <asp:Panel ID="Panel2" runat="server" BackColor="Teal" BorderStyle="Ridge" Height="24px"
- Style="left: 0px; position: relative; top: 0px" Width="316px">
- <asp:Label ID="Label7" runat="server" Height="16px" Style="left: 127px; position: relative;
- top: 2px" Text="用户注册" Width="72px"></asp:Label></asp:Panel>
- <asp:Panel ID="Panel3" runat="server" BorderStyle="None" Height="24px" Style="left: 0px;
- position: relative; top: 0px" Width="312px">
- <asp:Label ID="Label1" runat="server" BorderStyle="None" Height="24px" Style="position: relative"
- Text="请输入您的用户名:" Width="111px" Font-Size="Smaller"></asp:Label>
- <asp:TextBox ID="TextBox1" runat="server" Style="left: 3px; position: relative" Width="152px"></asp:TextBox>
- <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="TextBox1"
- ErrorMessage="必须填写“用户名”。" >*</asp:RequiredFieldValidator>
- <asp:RegularExpressionValidator ID="RegularExpressionValidator" runat="server" ErrorMessage="请检查输入格式。"
- ControlToValidate="TextBox1" ValidationExpression="w+([-+.]w+)*" style="position: relative" >*</asp:RegularExpressionValidator></asp:Panel>
- <asp:Panel ID="Panel4" runat="server" Height="24px" Style="left: 0px; position: relative;
- top: 0px" Width="288px">
- <asp:Label ID="Label2" runat="server" BorderStyle="None" Height="24px" Style="position: relative"
- Text="请输入您的密码:" Width="111px" Font-Size="Smaller"></asp:Label>
- <asp:TextBox ID="TextBox2" runat="server" Style="left: 3px; position: relative" Width="152px" TextMode="Password"></asp:TextBox>
- <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="TextBox2"
- ErrorMessage="必须填写“密码”。" >*</asp:RequiredFieldValidator></asp:Panel>
- <asp:Panel ID="Panel5" runat="server" Height="24px" Style="left: 0px; position: relative;
- top: 0px" Width="288px">
- <asp:Label ID="Label3" runat="server" BorderStyle="None" Height="24px" Style="position: relative"
- Text="确认密码:" Width="111px" Font-Size="Smaller"></asp:Label>
- <asp:TextBox ID="TextBox3" runat="server" Style="left: 3px; position: relative" Width="152px" TextMode="Password"></asp:TextBox>
- <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="TextBox3"
- ErrorMessage="必须填写“确认密码”。">*</asp:RequiredFieldValidator></asp:Panel>
- <asp:Panel ID="Panel6" runat="server" Height="24px" Style="position: relative" Width="288px">
- <asp:Label ID="Label4" runat="server" BorderStyle="None" Height="24px" Style="position: relative"
- Text="请输入您的姓名:" Width="111px" Font-Size="Smaller"></asp:Label>
- <asp:TextBox ID="TextBox4" runat="server" Style="left: 3px; position: relative" Width="152px"></asp:TextBox>
- <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="TextBox4"
- ErrorMessage="必须填写“真实姓名”。" >*</asp:RequiredFieldValidator></asp:Panel>
- <asp:Panel ID="Panel7" runat="server" Height="24px" Style="position: relative" Width="288px">
- <asp:Label ID="Label5" runat="server" BorderStyle="None" Height="24px" Style="position: relative"
- Text="请输入您工作单位:" Width="111px" Font-Size="Smaller"></asp:Label>
- <asp:TextBox ID="TextBox5" runat="server" Style="left: 3px; position: relative" Width="152px"></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox5"
- ErrorMessage="必须填写“地址”。" >*</asp:RequiredFieldValidator></asp:Panel>
- <asp:Panel ID="Panel8" runat="server" Height="8px" Style="position: relative" Width="288px">
- <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="TextBox2"
- ControlToValidate="TextBox3" Display="Dynamic" ErrorMessage="“密码”和“确认密码”不同,请重新输入!"
- Style="position: relative; left: 16px; top: 0px;" ValidationGroup="CreateUserWizard1" Font-Size="Smaller"></asp:CompareValidator></asp:Panel>
- <asp:Panel ID="Panel9" runat="server" Height="8px" Style="position: relative; left: 0px; top: 0px;" Width="288px">
-
- <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
-
- </asp:Panel>
- <asp:Button ID="Button1" runat="server" Style="left: 239px; position: relative; top: 0px"
- Text="创建用户" Height="23px" /></asp:Panel>
- </form>
- </body>
- </html>