<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="getpassword.aspx.cs" Inherits="Worklog.getpassword" %>
 

<!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>
     <link href="style/style.css" type=text/css rel=stylesheet>
    <style>
.tdwkey{ width:120px; text-align:right}
.tdwvalue{ width:120px; text-align:left}
.reg{  margin:0 auto; width:600px; font-family:Verdana; font-size:12px; margin-top:50px; }
.reg input{ height:14px}
.red{ color:Red;}
</style>

</head>
<body style=" margin:0 auto; font-family:Verdana; font-size:12px ">
    <form id="form1" runat="server">
 
       
     
    
    <div style="  margin-top:50px;  text-align:center; width:600px">
       
       
        
       
 
 Email: <asp:TextBox runat="server" ID="myemail"  ValidationGroup="g1" ></asp:TextBox> 
 
    <asp:RequiredFieldValidator ControlToValidate="myemail" ValidationGroup="g1"  ID="RequiredFieldValidator1" runat="server" ErrorMessage="邮件不能够为空" Display="Dynamic"></asp:RequiredFieldValidator>
       <asp:RegularExpressionValidator ValidationGroup="g1"  ID="RegularExpressionValidator1" runat="server" ErrorMessage="邮件格式不正确"
        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"　 Display="Dynamic"
         ControlToValidate="myemail"></asp:RegularExpressionValidator> 
 
 
  
 <asp:Button runat="server" ID="btn_getpassword" CssClass="btn" text="取回密码"  ValidationGroup="g1"
           onclick="btn_getpassword_Click" />
         
          &nbsp;&nbsp;   <a href="register.aspx">注册</a>  
          &nbsp;&nbsp;     <a href="login.aspx">登录</a>
         
 
  
 
           
  
  
    </form>
</body>
</html>
