IT Knowledge
Sunday, May 20, 2012
new line in a TextBox C#
ex.
TextBox1.Text = "First line\r\nSecond line";
TextBox1.Text = "First line" + + Environment.NewLine + "Second line";
\r works
\n works
\r\n works
Environment.NewLine works
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment