What is the use of Password datatype on the ComponentModel.DataAnnotations? RRS feed

  • Question

  • I applied this annotation of type Password to one of my attribute on the DataModel attribute like following

    [Required, DataType(DataType.Password)]
    public string Password { get; set; }

    but there is not enough documentation I found on MSDN or on the Net that what kind of validation does it imply on the model. Can someone please share some information on this one?

    Asp.Net, SQL, T-SQL, JavaScript, C# Developer

    Friday, May 9, 2014 3:34 AM