How to set a maximum number of characters in a textbox [C#]

Shaitan00

Junior Contributor
Joined
Aug 11, 2003
Messages
358
Location
Hell
Given a TextBox (tbInput), I want to block the total number of characters a user can write - is there a nice way to do this?
Specificially, I want to ensure that the user can write more then 3 characters in tbInput ... any clues? (such as XXX as opposed to XXXX)
 
Back
Top