Open excel on winform in C#
In my project I have create excel file on button click event but it opens in Microsoft office. I want to open that excel in other windows form when I click on button not in Microsoft office Excel. Please tell me how I do this??


Wim SturkenboomRank #2,527 · 554 reputationPosted Sep 28, 2014, 11:22 PM EDT
Ranjit PowarRank #553 · 4.4K reputationPosted Sep 29, 2014, 3:28 AM EDT
VulpesRank #55 · 29.2K reputationPosted Sep 29, 2014, 7:51 AM EDT
// ....
Kyle Story24 reputationPosted Nov 20, 2014, 2:30 AM EST
Hi, well two things come to my mind and I hope they can help you out.
First you can implement an Excel interface in your WinForms application by using the WebBrowser control, see here.
Second you can create your own interface with a DataGridView control, for example I used this .NET library for excel files as a bridge between the file and the control. It has a straightforward API for both importing and exporting excel file's data to DataGridView control. Also you can find here an example of WinForms application.