export to excel sheet. [Resolved]

Posted by Sudhakar_A under C# on 3/27/2014 | Points: 10 | Views : 1286 | Status : [Member] | Replies : 3
I have two data table and I need to export these to excel sheet. How to do this.




Responses

Posted by: Allemahesh on: 3/27/2014 [Member] [MVP] Silver | Points: 50

Up
0
Down

Resolved
Hi you can use the excelpackage. It is completely free.

Link:- https://excelpackage.codeplex.com/

Sudhakar_A, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: A2H on: 3/27/2014 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,
Check the below link To Export DataTable to Excel
http://www.dotnetspider.com/forum/330817-How-to-export-Dataset-or-DataTable-to-Excel-using-C.aspx

Thanks,
A2H
Please mark my reply as answer if it helps to resolve your problem

Sudhakar_A, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Oliver32 on: 4/3/2014 [Member] Starter | Points: 25

Up
0
Down
Hello,

Do you mind using a free 3rd party DataExport component for .NET,if not ,you can check the following page to get sample codes on Export DataTable to Excel using C#.Also,this article presents how can it be achieved on your own Visaul Studio.
http://www.e-iceblue.com/Knowledgebase/Spire.DataExport/Program-Guide/How-to-Export-Datatable-to-Excel-through-DataGridView.html

REGARDS
Oliver


Sudhakar_A, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response