Solved

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

Posted on 2011-09-28
3
233 Views
Last Modified: 2013-12-17
HI,

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

Peter
0
Comment
Question by:peterkiers
  • 2
3 Comments
 
LVL 17

Expert Comment

by:sonawanekiran
ID: 36714988
Use
textBox1.MaxLength = 14;
0
 
LVL 17

Accepted Solution

by:
sonawanekiran earned 500 total points
ID: 36714995
I mean
Look at the MaxLength property of the TextBox
0
 
LVL 1

Author Comment

by:peterkiers
ID: 36714999
Thanks.

P.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with solving error related to resources file 4 35
how to read json value 2 30
Angular - break the dataset in chunks? 7 39
C#.NET and microsoft certification. 3 31
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now