Ravi Naik
Ravi Naik

Reputation: 513

Display string item in windows - C#

I have a string with dots and carriage returns etc... totally its a big string! I want to show it in a windows form, so i wanted to know which one will be the good control to show it upon.

Thanks in advance, Ravi Naik.

Upvotes: 0

Views: 203

Answers (2)

SwDevMan81
SwDevMan81

Reputation: 49998

I would probably use a RichTextBox for displaying the plain text. Check out the AppendText method.

Upvotes: 1

Rune Grimstad
Rune Grimstad

Reputation: 36310

Use a TextBox with the Multiline property set to True.

Alternatively you can use a RichTextBox control or a WebBrowser control where you set the DocumentText property.

Upvotes: 3

Related Questions