Processing.. Please wait.

Format For Mvc

Formats

1. DateFormat 

 [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
 public DateTime DateOfBirth { get; set; }

2. ContactNoFormat 

[DataType(DataType.PhoneNumber)]
public string MobilePhone { get; set; }

3. CurrencyFormat 

 [DataType(DataType.Currency)]
    public float? Cost{ get; set; }

 4. EmailIdFormat 

[EmailAddress]   
public string Email { get; set; }  

 5. PasswordFormat 

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

 6. URL Format 

[Url]    
public string WebSite { get; set; }  

7. String Length Limit 

[StringLength(100)]    
public string Name { get; set; }    

 

Sign Out ?

Are you sure you want to sign out?

Press No if you want to continue work. Press Yes to signout user.