Excelsheet as html

S

Sascha

Hello,

our asp.net application generates xls files with html inside and sends the
output to the browser. The user can save the file to disk, or if he clicks
open he can open the file in his excel application. Almost everything works
fine, the tablecontent is correct and the data could display correctly. Our
customers ask us to autofit the columns in excel per default, but we don't
find a attribute for the table or td tag in html to do this.
How can i autofit columns in html?
 
T

Tim Williams

Probably the best you could do would be to set the width of each column to
something approximately correct...

Tim
 

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

Top