exporting html table multi line columns to excel multi line cells
- by Passat
I have a html table in a view MVC4 that I am sending to excel as output. Inside the view page I have some columns that have multiple lines that are built with forloops within the HTML. What's the best way to add the or \r\n so that excel renders it correctly?
I have a table and inside I build each row looping thru a recordset. In each row I also…