Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

How to set a limitation to the characters inserted in a textbox.

HI,

How can set a limitation to the characters inserted in a textbox?

Peter
0
peterkiers
Asked:
peterkiers
  • 2
1 Solution
 
sonawanekiranCommented:
Use
textBox1.MaxLength = 14;
0
 
sonawanekiranCommented:
I mean
Look at the MaxLength property of the TextBox
0
 
peterkiersAuthor Commented:
Thanks.

P.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now