asp.net mvc validation annotation for int either must be 0 or greater than 100000 -


i have int want validate annotation in model. can either 0 or greater or equal 100000. how can that?

thanks

as others stated, there isn't 1 out of box aware of, there several people have written custom validation attributes can use. example have used in past lessthan greaterthan validation.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -