This project has moved and is read-only. For the latest updates, please go here.

New line / Line breaks in epplus

Oct 23, 2013 at 12:00 PM

I am not able to display text in new line using epplus, tried all options but its still not working. Please suggest ?

I am getting value from db as text1\r\ntext2

also tried text1\ntext2


Ujjwal Soni
Oct 23, 2013 at 6:09 PM
What do you mean?
You want to write a cell with two lines?
I think that's not possible.
But you can try System.Environment.NewLine
Oct 24, 2013 at 6:34 AM
Edited Oct 24, 2013 at 6:35 AM
Thanks for your reply, i managed to resolve this issue programatically.
Oct 24, 2013 at 4:30 PM
If you can, post the solution you found, so people with same issue can read it :D
Oct 25, 2013 at 8:23 AM

I followed blog article in below URL ::


Marked as answer by ujjwalbsoni on 10/25/2013 at 12:23 AM