Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

C#: TextBox Validation

$
0
0

Hi,

I created a Windows Application and I want to know how can I validate the textbox im using that it will not accept the special character " | " and to limit character input to 100?

and also to set another textbox that it will only allow time format like this hh:mm AM/PM and that it will tell me once I try to move to another textbox that my input is invalid?

Hope someone can help me with this.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>