TextBox problem

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

When I set a textbox.Text property to strings that have \n characters, they
show up as '[' or something else besides properly interpreting them as
newlines. Is there some property, or should I convert them to <br>?
 
* "Alex said:
When I set a textbox.Text property to strings that have \n characters, they
show up as '[' or something else besides properly interpreting them as
newlines. Is there some property, or should I convert them to <br>?

Use "\r\n" or 'Environment.NewLine' to separate the lines and set the textbox's
'MultiLine' property to 'True'.
 
Back
Top