I have a multiline text box. User will give brief details in that text box.
Like this:
After I saved this in SQL Server and retrieve it again, it is showing like the following screenshot:
What can I do to keep the line breaks? Do I need to encrypt something before I save the data in SQL Server?
Thanks.
This is my code:
<div id="Description_id" runat="server">
</div>
C# code:
string description = rd["job_description"].ToString();
Description_id.InnerText = description.Replace("\r\n", "<br/>");

