Hi All,
I would like to Export the Data from the dataTable in asp.net application,
I am able to export the data to Excel .xls format but i am not able to open the excel spreadsheet format(.xlsx).
when i open its opening only ms Office Execl window but datais not displaying.
please hell its very urgent
Thanks
Bharathi
Loading
Suthish NairPosted Oct 11, 2011, 3:39 PM
Sam HobbsPosted Oct 11, 2011, 1:46 PM
You should look at the articles in this web site. It is very likely that there is at least one article that will help you.
Javeed M ShaikhPosted Oct 11, 2011, 12:21 PM
Since an .xlsx file is opened as a package used by 2007 office applications and .xls file is opened by 2007 using the
same content but by some tricks. I would recommend you look into the following to create the .XLSX format files and other MS Office activities.
http://npoi.codeplex.com/
http://www.leniel.net/2009/07/creating-excel-spreadsheets-xls-xlsx-c.html
Please do not forget to mark "Accepted Answer".