TextBox control

Can more than one line be entered in a TextBox control?

E

Expert

Verified

Yes, it is possible to insert more than one line in the TextBox control. For doing this, it is required to set the Multiline property of the TextBox control to “True”. This property can be set at the design time as well as at the runtime.

Syntax to set this property at runtime is as follows:

Textbox1.Multiline = true;

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.