C# export to excel

后端 未结 5 582
盖世英雄少女心
盖世英雄少女心 2021-01-16 07:04

Which is the best way to export data to an existing xls sheet. I needs to support many versions of excel. If i was using Visual basic. I would use the CreateObject(\"Excel.a

5条回答
  •  一整个雨季
    2021-01-16 07:45

    Writing to Excel using C# can be accomplished using the Interop.Excel Here is a nice tutorial with screen shots to help make this happen.

    http://csharp.net-informations.com/excel/csharp-excel-tutorial.htm

提交回复
热议问题