摘要:
添加引用:Microsoft Excel 11.0 Object Library ;添加:using Microsoft.Office.Interop.Excel;一、打开Excel文件============================ Microsoft.Office.Interop.Excel.Application excel1 = new Microsoft.Office.Interop.Excel.Application(); Workbook workbook1 = excel1.Workbooks.Open(@"E:/aaa.xls", Type.Mis 阅读全文