Reading Excel File
c# code Browse excel file from folder and clicking on the button it should get details of specified column to the listbox in windows forms?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Garry GibsonPosted Oct 3, 2014, 5:29 AM
Hi Manjunatha here is another way that you can try:
Jignesh TrivediPosted May 15, 2013, 4:30 AM
Please refer below link it might help you.
http://www.c-sharpcorner.com/uploadfile/mgold/howtooepnandreadanexcelspreadsheetinalistviewin.net11282005034134am/howtooepnandreadanexcelspreadsheetinalistviewin.net.aspx
http://www.dotnetspider.com/resources/5791-Open-Read-File-Win-Forms.aspx
Donald GreenPosted May 15, 2013, 3:06 AM
Arul ManivannanPosted Mar 19, 2013, 5:14 AM
1. Fetch the excel data and populate it into datatable.
2. remove the unwanted columns from the datatable.
3. assign this datatable as datasource to that listbox. For fetching data from excel file. Please see http://www.dotnetfunda.com/codes/code972-read-a-excel-file-with-sheet-wise-into-dataset-using-csharp.aspx
Arul Manivannnan