Single line in TextBox control

Can we enter more than single line in the TextBox control?

E

Expert

Verified

Yes, we can enter more than single line in a TextBox control by setting the Multiline property of a TextBox control to True. We can set the property during design time also at runtime. 

Syntax to set this property during runtime is shown below:

Textbox1.Multiline = true;

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.