About .NET Dave |  Advertise |  Contact Us |  FAQ |  Link2Me |  Webmasters |  Manage My Submissions
 
 
    Cool Stuff |  Hot Stuff! |  Newsletter |  What's New? |  Rotor Source Code
   
aspNetEmail

 Related Directories
 >> Regular Expression   

  Validate an Email address Rate this Resource  9  read reviews write a review report an error printer friendly version
Validate an email address entered into a Textbox, using a validator control.
Extended Description 
<asp:TextBox id="txtEmail" size="30" runat="server" />
<asp:RequiredFieldValidator runat="server"
id="validEmailRequired" ControlToValidate="txtEmail"
errormessage="Please enter an email address."
display="Dynamic" />
<asp:RegularExpressionValidator runat="server"
id="validEmailRegExp" ControlToValidate="txtEmail"
ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil)$"
errormessage="Please enter a valid email address."
Display="Dynamic" />
    Total Views:13252 | Today:748 Total Hits:961 | Today:0



Peter's Data Entry Suite from PeterBlum.com


Corporate Web Solutions .netCHARTING

Corporate Web Solutions .netCHARTING

ASP.NET Shopping Cart Software
  Hosted By:
  Check Out:
  #1 .NET Email
  .NET Email Validation
Back to Top   Last Updated: 2/9/2010 4:07:26 AM
© 2010www.123aspx.com All rights reserved. Terms of Use.   email comments: support@123aspx.com  or use our online form.