C#读写excel文件的问题
对于这句代码
Microsoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.ApplicationClass();
总是报异常
The type 'Microsoft.Office.Interop.Excel.ApplicationClass' has no constructors defined
Interop type 'Microsoft.Office.Interop.Excel.ApplicationClass' cannot be embedded. Use the applicable interface instead.
求解。