Click here to Skip to main content
15,908,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all
can anyone tell me how to enable textbox to enter new line when i reach the end of textbox width???
Thanks
Posted

 
Share this answer
 
v2
Comments
anjuchauhan 7-Feb-12 7:28am    
yes i also want to learn c# how can i build the code to make forms
The Best Option Is To Use
C#
Environment.NewLine

Or

You Must Have The MultiLine Set To True and \r\n Where You Want The Line To Break.
 
Share this answer
 
Comments
moon2011 7-Feb-12 7:01am    
What About input in html
Go to Property of the TextBox Control and set TextMode Attribut to Multiline.
 
Share this answer
 
 
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