Dennis,
You could put it into a resource, but ultimately, you have to get the
contents out of the resource into a string to add to the text. In order to
append large amounts of text, you will want to use the AppendText method on
the TextBox (or RichTextBox) class. It is meant to add large amounts of
text in an efficient manner.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Dennis C. Drumm" <de*******@primacode.com> wrote in message
news:OF****************@TK2MSFTNGP10.phx.gbl...
What is the best way to add several pages of text to a readonly TextBox?
The text does not change and was created in a Word rtf document but could as
easly be put in a ASCII text file. Can this be done using a resource or
something? Can TextBoxes be attached to data sources other than database
objects?
Thanks,
Dennis