reg.aspx
资源名称:yjal.rar [点击查看]
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:1k
源码类别:
Email客户端
开发平台:
Visual C++
- <%@ Page Language="C#" MasterPageFile="~/AppMaster.master" AutoEventWireup="true" CodeFile="reg.aspx.cs" Inherits="reg" Title="用户注册" %>
- <asp:Content ID="Content2" ContentPlaceHolderID="phMain" runat="Server">
- 用<span style="color: #ffffff">_</span>户<span style="color: #ffffff">_</span>名:
- <asp:TextBox ID="user_txt" runat="server" Width="150px"></asp:TextBox>
- <asp:Button ID="valiuserbtn" runat="server" OnClick="valiuserbtn_Click" Text="检测用户名" /><br />
- 密<span style="color: #ffffff">____</span>码:
- <asp:TextBox ID="pwd_txt" runat="server" TextMode="Password" Width="150px"></asp:TextBox><br />
- 确认密码:
- <asp:TextBox ID="qrpwd_txt" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
- <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="pwd_txt"
- ControlToValidate="qrpwd_txt" ErrorMessage="确认密码错误">
- </asp:CompareValidator><br />
- 电子邮件:<asp:TextBox ID="email_txt" runat="server" Width="150px"></asp:TextBox>
- <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="email_txt"
- ErrorMessage="错误的邮件地址" ValidationExpression="w+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*">
- </asp:RegularExpressionValidator><br />
- <asp:Button ID="yesregbtn" runat="server" OnClick="yesregbtn_Click" Text="确认" />
- </asp:Content>