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 -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -