reg.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:1k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" MasterPageFile="~/AppMaster.master" AutoEventWireup="true" CodeFile="reg.aspx.cs" Inherits="reg" Title="用户注册" %>
  2. <asp:Content ID="Content2" ContentPlaceHolderID="phMain" runat="Server">
  3.   用<span style="color: #ffffff">_</span>户<span style="color: #ffffff">_</span>名:
  4.   <asp:TextBox ID="user_txt" runat="server" Width="150px"></asp:TextBox>
  5.   <asp:Button ID="valiuserbtn" runat="server" OnClick="valiuserbtn_Click" Text="检测用户名" /><br />
  6.   密<span style="color: #ffffff">____</span>码:
  7.   <asp:TextBox ID="pwd_txt" runat="server" TextMode="Password" Width="150px"></asp:TextBox><br />
  8.   确认密码:
  9.   <asp:TextBox ID="qrpwd_txt" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
  10.   <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="pwd_txt"
  11.     ControlToValidate="qrpwd_txt" ErrorMessage="确认密码错误">
  12.   </asp:CompareValidator><br />
  13.   电子邮件:<asp:TextBox ID="email_txt" runat="server" Width="150px"></asp:TextBox>
  14.   <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="email_txt"
  15.     ErrorMessage="错误的邮件地址" ValidationExpression="w+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*">
  16.   </asp:RegularExpressionValidator><br />
  17.   <asp:Button ID="yesregbtn" runat="server" OnClick="yesregbtn_Click" Text="确认" />
  18. </asp:Content>