I am saving data with line breaks from a textarea control to a SQL Server 2008 database. I have queried the DB and the data is being saved with square bracket characters representing line breaks. When this data is binded back to a textarea control the line breaks are preserved.
However, if I bind the data to a asp:literal control the line breaks are not preserved.
How do I preserve the line breaks when pulling data from SQL that was saved from a textarea control? I was thinking about do a replace for vbcrlf but the line breaks are being saved as square bracket characters rather than vbcrlf.