Uploading Excel file in Windows Forms using C#

Posted by Santhoshalla under WPF on 2/11/2013 | Points: 10 | Views : 5535 | Status : [Member] | Replies : 5
How to upload excel files n Win Forms
and store excel data in datatable




Responses

Posted by: Satyapriyanayak on: 2/11/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
http://csharpdotnetfreak.blogspot.com/2011/12/upload-and-read-excel-file-in-aspnet.html

If this post helps you mark it as answer
Thanks

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

Posted by: Santhoshalla on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
How to upload xls files in Windows Forms
in windows how to upload xls files



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

Posted by: Grdon on: 2/19/2013 [Member] Starter | Points: 25

Up
0
Down
Hi,
It is easy to work with excel in .Net if you use 3rd party components. For example look at this C# code by using http://www.eleriumsoft.com/Excel_NET/ExcelReader/:

string xlload = @"d:\Tutorials.xls";

ExcelWorkbook Wbook = ExcelWorkbook.ReadXLS(xlload);
ExcelWorksheet Wsheet = Wbook.Worksheets[0];
DataTable dt = Wsheet.WriteToDataTable();


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

Posted by: Rimi1289 on: 2/19/2013 [Member] Starter | Points: 25

Up
0
Down
This will help.


Rimi.

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

Posted by: Megan00 on: 2/19/2013 [Member] Starter | Points: 25

Up
0
Down
You can try this article:
http://excelcsharp.blog.com/2012/10/29/export-excel-to-datatable-and-import-datatable-to-excel/
or directly go here in source code page:
http://spreadsheet.codeplex.com/

Never give up! Smile to the world!
http://excelcsharp.blog.com/

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

Login to post response