Is DataType DataType Password attribute and Password Property Text attribute do the same thing or is it different when to use what ?
code
[Required]
[PasswordPropertyText]
[Display(Name = "Password")]
[DataType(DataType.Password)]
public string Password { get; set; }
↧
Difference between password property text and datatype(datatype.password) attributes
↧