hello,
i have a c# asp.net 2.0 webpage. i am getting text from sql server 2005 and need to show it in the webpage as html. the text may contain html tags or formatting which must be preserved. the text in the database can be as long as tens of thousands of characters. i tried using a label and a literal control but they just put everything in one straight line. i need a different kind of control that can "carriage return" or wrap the text to the next line even if there is no <br> or \r or \n, it should be smart enough to realize that it has to go to the next line instead of continuing on the same line. i cant use a textbox either bec. it showed the html tags. the control should show html with the formatting preserved.
textbox content:
<p>this is the first line.</p>
<p><strong><font size="4">this is the second line.</font></strong></p>
it shoul ...
Go to the complete details ...