Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
44216 Points
7184 Posts
MVP
Feb 21, 2012 07:10 AM|LINK
Hi,
I tested the below simple example for you and it worked for me. :)
string s = txtTextBox1.Text; Label1.Text = s.Replace("\r\n", "<br/>");
Please 'Mark as Answer' if this post helps you.
Ruchira
All-Star
44216 Points
7184 Posts
MVP
Re: Problem with multiline textbox
Feb 21, 2012 07:10 AM|LINK
Hi,
I tested the below simple example for you and it worked for me. :)
string s = txtTextBox1.Text; Label1.Text = s.Replace("\r\n", "<br/>");
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.