I\'m using the Aspose library to create an Excel document. Somewhere in some cell I need to insert a new line between two parts of the text.
I tried \"\\r\\n\" but i
cell.Text = "your firstlineyour secondline";
If you are getting the text from DB then:
cell.Text = textfromDB.Replace("\n", "");