Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have a Windows Application (C#) using .NET Framework 4.5.
I have a Datagridview control a reports form from where i want to export data to MS Excel 2013. I have already written the code but it work's only upto Excel 2010.

Please provide a solution.
Posted
Comments
Maciej Los 20-Nov-14 8:35am    
It's even not a question!
Christopher Fernandes 20-Nov-14 8:48am    
It is a query for which i do not have an answer so it is a question. Please provide an answer if you have one. Need it urgently.
Arpit Kumar Dubey 20-Nov-14 8:55am    
for 2010 we are using
http://csharp.net-informations.com/excel/csharp-excel-datagridview.htm
and
http://csharp.net-informations.com/excel/csharp-create-excel.htm

can you plz make sharable your code with northwind db and put it here

thanks
Christopher Fernandes 24-Nov-14 0:31am    
I need it for a Desktop based application and i want to export it to Excel 2013
Christopher Fernandes 2-Mar-15 20:46pm    
when i target interop.excel v15.0 in development pc where office 2013 is installed the export work great but in the production environment the export fails and get error saying com exception occurred

Start here[^]!
 
Share this answer
 
 
Share this answer
 
Comments
Abid Shk 21-Nov-14 0:05am    
http://www.aspdotnet-suresh.com/2014/11/export-data-to-excel-from-datatable-gridview-aspnet-csharp.html

goto this link it will help u
King Fisher 21-Nov-14 0:09am    
why do i need this Abid :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900