Ultimate Studio
All essential components included
|
| Atp UltimateEmailValidator | |
| Creating a Web Application | |
| Send comments on this topic to ATP, Inc. | |
| Getting Started > Creating a Web Application |
Glossary Item Box
This tutorial will walk you through creating a Web Application and add EmailValidator library to it.
| C# | Copy Code |
|---|---|
|
System.Web.UI.WebControls.Label label1 = new System.Web.UI.WebControls.Label(); // Create a new instance of the EmailValidator class. EmailValidator validator = new EmailValidator(); // Validate the email. ValidationLevel result = validator.Validate("info@atp-inc.net"); // Show result. label1.Text = string.Format("Email address '{0}' has been validated at level {1}", "info@atp-inc.net", result.ToString()); | |
| VB.NET | Copy Code |
|---|---|
|
' Create a new instance of the EmailValidator class. Dim validator As New EmailValidator() ' Validate the email. Dim result As ValidationLevel = validator.Validate("info@atp-inc.net") ' Show result. label1.Text = String.Format("Email address '{0}' has been validated at level {1}", "info@atp-inc.net", result.ToString()) | |