Aspose.Cells 读取Excel数据到DataTable

 C#代码:

Workbook workbook = new Workbook();

workbook.Open(excelfile);

 
Cells cells = workbook.Worksheets[0].Cells;

DataTable dt = cells.ExportDataTable(1, 0, cells.MaxDataRow, 2,false);

  

相关文章:

  • 2022-12-23
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-09
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2022-02-03
相关资源
相似解决方案