change validate message in data annotation
- by user276640
my object has field with data type int. when i put in html form in this textbox letter not number the validator say- The field must be a number. how can i change this messages like this
[Required(ErrorMessage = "??????? ????????")]
[DisplayName("????????")]
public int age { get; set; }