Hi!
I am taking one TextBox and Lable. label Text is 150. and i set TextMode is Multiline and MaxLength is 150. My aim is when i write text in textbox. that text count is displayed in label. when user erase the text that time also count decrease. how to write code to do this.
and one more thing. i set Multiline to textbox and max length is 150. if i enter more than 150 characters it allows. but my aim is it not allow, enter 150 characters then we enter words it not print. how to write program to do this?
Thanks.
Loading
ajay rajuPosted Apr 12, 2010, 6:52 AM
Thank u for Giving a code. it is working in Windows Application, and how to write code in web Application. and how to write code for decrement the count. means in ur program count start from 1 to 150. and my aim is i write Characters Left : 150. when user write the text decrease the value of 150 to 0. please also provide code for to do this.
Thanks.
Chellappan PandiarajanPosted Apr 12, 2010, 4:51 AM
Hi,
Its very Simple
Here i Attach the Example U need...
Check and Use it......
VasanthPosted Apr 12, 2010, 2:24 AM
http://www.c-sharpcorner.com/UploadFile/vasanthks/788/?ArticleID=3916cca7-a840-4cbf-9706-b3c5da1f8a1f