Problem while opening Excel files
when i try to download data from MySQL to excel sheet I am getting error of
This file is not in a recognizable format.
. If you know the file is from another program which is incompatible with Microsoft Office Excel,click Cancel then open this file in its original application.If you want to open the file later in Microsoft Office Excel,save it in a format that is compatible,such as text format.
response.setHeader("Content-Disposition", "attachment; filename=\"test.XLS\"");
I can open them after clicking OK, but before that it is showing the above error message
|All times are GMT +5.5. The time now is 07:04.|