This example will show you how to Upload the excel file and then read the excel file data using C# and display it on Gridview.
Drag and drop the FileUpload control and Button control from toolbox. Also drag and drop the Gridview control for display the excel file data. ASPX page will look as following.
Drag and drop the FileUpload control and Button control from toolbox. Also drag and drop the Gridview control for display the excel file data. ASPX page will look as following.