Just curious as to what the syntax is for validating 1 numeric value within a password on a registration model
[Required]
[Display(Name = "Password:")]
[DataType(DataType.Password)]
[StringLength(50, ErrorMessage = "the password must be at least 6 characters long.", MinimumLength = 6)]
public string Password { get; set; }
That's currently what i have which makes sure the password is within 6-50 characters, any help would be much appreciated