how to break line in multiline textbox
  • hi all how can i break line in multiline textbox in c# code?
  • 4 Comments sorted by
  • refer the textbox property & Change the mutiline true to false

  • i am asking how to break line not how to make multi line textbox.
  • hi saeed use

    textbox1.Text = "Hello" + Envorment.NewLine + "World";
  • textBox1.AppendText("Hello" + Environment.NewLine);
    textBox1.AppendText("Hello" + "\r\n");
    textBox1.Text += "Hello\r\n"
    textbox1.Text += System.Environment.NewLine + "brown";

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook


Popular Posts of the Week