Check if variable value is a valid email.

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
 
S

Shapper

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
Random Value 3
Validate Email. RegEx. Need Help. 4
Global Variable 9
Email Bounce Error 3
Check if variable is empty 5
WithEvents Question 4
Session Variable 2

Top