In SQL server 2008 R2, I have a table with column containing nvarchar(max) data. When I print the value from this column for one record it displays like this.

Using VS2010, I have developed ASP.net web form with DetailsView, which shows above record as shown below. The line carriage and new line characters are lost while displaying on DetailsView !! Question is how can I view new lines?

Solved by using pre (preserve)
pre style=”text-overflow: visible;white-space: pre-wrap