i want to restrict the numbers to be entered on the text box to five precision
eg: 1234.52342 -1234.52342
how i can restrict while entering the numbers on the text box
Use a MaskedTextBox control.
http://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.aspx
您还可以使用customvalidator控件对控件进行限制。.Telerik还具有一个数字文本框控件,您可以查看http://demos.telerik.com/aspnet-ajax/input/examples/radnumerictextbox/firstlook/defaultcs.aspx
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.