Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

the range data annotation attribute (Double)

[Range(0.0, Double.MaxValue, ErrorMessage = "The field {0} must be greater than {1}.")]
 
PREVIOUS NEXT
Tagged: #range #data #annotation #attribute
ADD COMMENT
Topic
Name
7+2 =