Description: C# read Excel displayed in the DataGrid table, double-click on the Exe bin directory, run the program based on the control station, you can simply press Enter to start the main form will directly read the test.xml file bin directory . This example code is designed to allow C# beginners reference, the master should be C# Operation Excel sure.
To Search:
File list (Check if you may need any files):
ExcelDemo\ExcelDemo\bin\Debug\test.xls
.........\.........\ExcelDemo.csproj
.........\.........\ExcelDemo.csproj.user
.........\.........\Form1.cs
.........\.........\Form1.resx
.........\.........\obj\Debug\ExcelDemo.exe
.........\.........\...\.....\ExcelDemo.pdb
.........\.........\...\.....\ExcelDemo.projdata
.........\.........\...\.....\Form1.resources
.........\ExcelDemo.sln
.........\ExcelDemo.suo
.........\.........\obj\Debug\temp
.........\.........\...\.....\TempPE
.........\.........\bin\Debug
.........\.........\obj\Debug
.........\.........\bin
.........\.........\obj
.........\ExcelDemo
ExcelDemo