Link to home
Start Free TrialLog in
Avatar of Faye_DBA
Faye_DBA

asked on

Storing New line character in SQL server 2005 and sending emails from C#.

I am storing the Email body in Sqlserver 2005 database and it needs to be sent in as text Email. I want some newline characters in the email body. I tried few characters but does not seem to be working.
Following is what I tried : \r\n, char(13)+char(10), char(10)+char(13).
Any help is highly ppreciated.
Thanks
SOLUTION
Avatar of shakashico
shakashico
Flag of Egypt image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial