Click here to Skip to main content
16,023,124 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
i have a one textbox and i want to set length limit in textbox is 50
if user enter value then work a successfully
but user enter some value and after delete some value
then work a unsuccessfully
Posted

Use the MaxLength property of textbox - set it to 50.
 
Share this answer
 
v2
Why are you asking all these seemingly unrelated questions ? Do they not have books or google where you live ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900