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
Post a Comment