Excel Export Blank Sheet Problem -


I had some code that worked for years to export the HTML table for Excel, it went like this -

  Private Zero ExcelExport (String Core_Number) {// set the response for Excel export reply. Clear (); reaction. Buffer = true; Response.ContentType = "app / vnd.ms-excel"; Response.AddHeader ("content-type", "attachment; file name = TEST.xls"); .. loops by generating a simple HTML table ... feedback. Type ("& lt; / table & gt;"); Response.Flush (); Response.End (); }  

I saw that Firefox now shows the file as an XML document instead of an XML document, and when I open the generated document it will fail the pars. In addition some users report export problems in some older versions of IE, although there is no problem at my end on IE (shows as an Excel document and opens properly).

First? Thanks for your time.

No answer was found, but now it has worked around it.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -