Validation in codebehind

  • Thread starter Thread starter TCORDON
  • Start date Start date
T

TCORDON

Is there a vay to validate a textbox.text to see if it is a valid email
address in codebehind? Using
VS2005

Thanks
 
You can use regular expressions (System.Text.RegularExpressions.RegEx). Check
out www.regexlib.com to pick a reg exp for email address validation.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top