Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to read excel file into datagridview using open file dialog
Posted
Comments
Maciej Los 12-Nov-14 7:10am    
How open dialog is related to reading Excel files?
Open dialog is used to choose file (get its full path), not to read it.
Karthik Bilakanti 13-Nov-14 1:08am    
yes, i want to choose excel file and to display the file path in one textbox and at the same time i have to read that selected excel file and should be displayed in DataGridView.

 
Share this answer
 
Comments
BillWoodruff 12-Nov-14 7:32am    
+5
Maciej Los 12-Nov-14 11:52am    
A5, for what?
Have you seen my comment to the question, Bill?
Please, read the MSDN documentation[^]. On the bottom of referred page you'll find an example code.
 
Share this answer
 
v2

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