max characters in a textbox (VB)

how do i set the maximum number of characters allowed in a textbox?
Mike MillerSoftware EngineerAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jeebukarthikeyanConnect With a Mentor Commented:
hi,
<asp:TextBox id="TextBox2" style="Z-INDEX: 109; LEFT: 123px; POSITION: absolute; TOP: 75px" runat="server"
                MaxLength="100"></asp:TextBox>

use the maxlength property

b u d d h a
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.