Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
edited tags
Link
Henk Holterman
  • 275.6k
  • 33
  • 353
  • 540
Source Link
Smiley
  • 3.5k
  • 13
  • 51
  • 69

TextBox Validation - C#

I am having quite a hard time with my C# Application's textbox validation. The thing is, the said textbox should only accept decimal values. so it means, there should be no letters or any other symbols aside from the '.' symbol. The letter filter, i can handle. However, i don't exactly know how I can manage to filter the number of '.' that the textbox should accept. If anybody has any idea how to do this, please give me an idea.

Thank you very much :)