Solved

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

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

786 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