开发者

asp:RangeValidator MinimumValue > 0

开发者 https://www.devze.com 2023-03-22 19:33 出处:网络
I am back at last and actually have a perm job thanks to all the help you guys gave me a while back !! :) Thanks.

I am back at last and actually have a perm job thanks to all the help you guys gave me a while back !! :) Thanks.

Ok, so now I have a simple task, to add some ranges to an existing ASP.Net page.

I am using asp:RangeValidator and have a type=double and want to have a value of > 0 and not >=. Is there a quick and nice way of doing this ??

I know there is a R开发者_JAVA技巧angeBoundry type in the RangeValidatorAttribute class. Is there something similar I can use in the RangeValidator class at all ?

Many thanks, George.


I simply used MinimumValue and MaximumValue parameters for this.

0

精彩评论

暂无评论...
验证码 换一张
取 消