0

I've been using the same simple function to return data from SQL for years and I think this is the first time I'm experiencing this. I've checked the SQL table, copy pasted the cell into Notepad++, displayed all characters and there's only spaces between words, nothing special. The column is of type nvarchar. But when I retrieve the table with DataAdapter many of those lines break and when I copy paste those into Notepad++ it's clearly CRLF. See attached image. Lines 1 & 2 are from the Visual Studio Data Table Visualizer as soon as I get the table. Line 4 is straight from SQL query Result. I'm using the same query both times.

enter image description here

What could be the reason for this? Been looking for hours, can't see what I'm missing.

okkko
  • 1,010
  • 1
  • 13
  • 22

0 Answers0