Export To Excel - How to create ALT-ENTER from C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I need to export some data from SQL Server and the data contains \n
and I need to replace those with ALT-ENTER so when it is exported to excel,
it should the line break in the cell.

I have tried many ways to get this done, but nothing works. Any ideas on how
to do this from a code-behind in C#?

Thanks very much!
 
Back
Top