Question
TCS
IN
Last activity: 21 Mar 2016 5:46 EDT
How to generate xlsx file
I am able to generate xlsx using html control but am unable to open it.
Error such as - "file format / file extension is not valid. Verify that the file has not been corrupted" displays.
Please suggest me.
Thanks in Advance...
Message was edited by: Lochan to add Category
Hello Reddyprasad,
I know for exporting to excel from a report that we send an html stream down to the client with an .xls extension. Excel opens this and notices that it is in a different format and throws up the notification. You can click right through and the file opens fine. Does yours have a similar issue or does Excel refuse to open the stream entirely? And if that's the case, have you confirmed the HTML stream is correct?
Thanks,
Mike