开发者

How validate textbox (double,float type)

开发者 https://www.devze.com 2023-03-07 11:03 出处:网络
I need validate textb开发者_开发问答ox. range 0.0-200.0 and work with \',\' and with \'.\' How do this?Use the NumericUpDown control in the Silverlight toolkit.

I need validate textb开发者_开发问答ox. range 0.0-200.0 and work with ',' and with '.' How do this?


Use the NumericUpDown control in the Silverlight toolkit.

   

How validate textbox (double,float type)

Don't try and reinvent the wheel with a textbox; using a control explicitly designed for this purpose is much more user-friendly. It's immediately obvious that they're expected to enter a number, they can easily change the current value using recognizable methods, and you're freed from having to write and test a bunch of custom validation code.

0

精彩评论

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