一.使用OleDb,这个法子好像不大好使.容易读错.
引用System.Data.OleDb;

    }


二.使用com.
导入Microsoft.Excel
使用命名空间
using Excel= Microsoft.Office.Interop.Excel;
using System.Diagnostics;

C#操作Excel(读取)public  class ExcelHelper
    }

 

相关文章:

  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2021-11-02
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-13
  • 2022-02-07
相关资源
相似解决方案