sql server 2005 - How to insert new line to nvarchar using c# code -


i have table field ,description nvarchar(200).

i inserting string lot of lines.

when take quick watch on string in visual studio, can see string splited on mutile lines expected.

line1
line2
line3

but when insert database using stored procedure,all "\n\r" beomes spaces. when read databse there no "\n\r"

what can do?

it should stored fine. when through ssms, removes newlines readability in grid.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -