Label wrap

  • Thread starter Thread starter Lelle
  • Start date Start date
L

Lelle

i have text in a access database that is input from a multiline textbox.

now i want to display this text in a Label but then im not able to get det
correct format with linewrapping. i do wraps at control widht end..but i
becomes pretty unreadable couse there is several wraps in the text.

if i reads the text into a multiline textbox it seems to work

but it is not that nice output...
anyone has some good input, guess this is a newbie question
maybe i should use another control and not the label control
 
someLabel.Text = someValue.Replace(System.Environment.NewLine, "<br />")

perhaps?

Karl
 
Back
Top