[DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)] public DateTime DateOfBirth { get; set; }
[DataType(DataType.PhoneNumber)] public string MobilePhone { get; set; }
[DataType(DataType.Currency)] public float? Cost{ get; set; }
[EmailAddress] public string Email { get; set; }
5. PasswordFormat
[DataType(DataType.Password)] public string Password { get; set; }
[Url] public string WebSite { get; set; }
[StringLength(100)] public string Name { get; set; }
Are you sure you want to sign out?
Press No if you want to continue work. Press Yes to signout user.