There are plenty of places that tell you how to do this in a Windows Textbox, but not in the .net textbox.
Not only does '
' not work, but neither does '
', or Environment.NewLine
Lets say that I want to return a number of email addresses from a databases, and foreach record set the email address as a new line in the textbox.
Can anybody help?
MCAD
0
loxley
3/29/2004 8:02:02 PM
You may try this:
String mssage = "This is first one
" ;
mssage+= "This is second one
";
mssage+="This is third one";
TextBox1.Text = mssage;
0
jimmym
3/29/2004 10:20:45 PM
Well, this certainly wasn't the way that I expected to have to do it, but it worked!
Thank you very much!
MCAD
0
loxley
5/18/2004 7:07:22 PM