Render to Excel - line break problem.

Q

Q. John Chen

All,

I posted this in asp.net group some time ago but didn't see any
respone. Just noticed this group.

I used DataGrid RenderControl to Excel. It works great except one
thing:

I have a cell that contain new lines - <BR> it rendered to the Excel as
multiple-rows.

I replaced the <BR> with Char(10), that doesn't work either.

Any other tricks?

Thanks

John
 
Q

Q. John Chen

It was CR/LF. Both the grid and excel was back. I replaced it with <BR>
so at lease it display correctly in the grid,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top