You can use this code to check if the email address is valid or not.
---------------------------------------------------------------------------------------
[RegularExpression(@"^([a-zA-
[Required]
[DataType(DataType.
[Display(Name = "Email address*")]
public string Email { get; set; }
---------------------------------------------------------------------------------------
No comments:
Post a Comment