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

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -