Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

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

$
0
0

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



Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>