some time ago i wrote an asp.net application which generated excel files using Microsoft.Offic e.Interop.Excel . It is working but it takes a lot of time to generate the excel file.
Yeasterday i modyfied it and i am generating them like HTML files and then send them to the user like:
and i must say that it is workin 10 times faster and does not require any use of MS Excel.
My Excel 2003 opens this file without any problems, works perfectly. My question is: Is this a good ideea to generate xls files this way....or some earlyer version of Excel will have problem opening this files??
Yeasterday i modyfied it and i am generating them like HTML files and then send them to the user like:
Code:
Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader( "Content-Disposition", "attachment; filename=result.xls" );
My Excel 2003 opens this file without any problems, works perfectly. My question is: Is this a good ideea to generate xls files this way....or some earlyer version of Excel will have problem opening this files??
Comment