Solved

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

Posted on 2011-09-28
3
239 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Amazon S3 .Net error 5 41
C# Linq Select From List 3 45
Dictionary and array of [N] size - performance tuned 12 40
Visual C# Windows Project - Clone Form 4 21
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 document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 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