Surendra Sharma

Surendra Sharma

Search This Blog

Tuesday, May 4, 2010

New Line in Multiline TextBox in C#

TextBox1.Text ="RAM" + System.Environment.NewLine;

TextBox1.Text +="RAM" + System.Environment.NewLine;

OR

TextBox1.Text ="RAM" + "\r\n";

TextBox1.Text +="RAM" + "\r\n";


 

No comments:

Post a Comment