Check if variable value is a valid email.

  • Thread starter Thread starter Shapper
  • Start date Start date
S

Shapper

Hello,

I have an aspx.vb code with a function.
In this function I need to check if a variable is a valid email address.

Something like: (e-mail address removed)

How can I do this?

Thanks,
Miguel
 
Hello,

I know the ASP.NET build in validation control to place in HTML code.

What I need is to check if variable myEmail has a valid email address.
I need to do this in my vb.net code in my aspx.vb code file.

Can someone send me an example of how to create this?

Thanks,
Miguel
 

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

Similar Threads

Global variable 2
Validate Email. RegEx. Need Help. 4
Enum 4
Random Value 3
Referring to public variables in asp.net vb 1
Global Variable 9
Use variable values in class. 2
WithEvents Question 4

Back
Top