Click here to Skip to main content
14,700,108 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi, I want to know number of decimal points available in textbox...can u help me...

1 solution

There no particular inbuilt property in Textbox. You need to do ur code based on ur requirements or u need to use mask.

For help,[^]
krishna kishore58 8-Dec-10 5:13am
thanks 4 replying... actually i want to put a condition that if i enter more than one decimal point then the set of block should not for this i wanna know ...
Toniyo Jackson 8-Dec-10 5:16am
windows or web app?
krishna kishore58 8-Dec-10 5:21am
windows app
Toniyo Jackson 8-Dec-10 5:24am
So u need to write ur condition in TextBox_TextChanged Event.
krishna kishore58 8-Dec-10 5:29am
can u suggest me anything...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900