你可以继续使用 Excel 导入和导出服务。源码在:"%Spread.Sheets Product Package%\samples\GrapeCity.ExcelService"。
使用以下步骤来使用该服务:
- 在 Visual Studio 中打开 GrapeCity.ExcelService.csproj
- 添加 ExcelIO 程序集。
- 添加 License:
GrapeCity.Spread.Sheets.License.LicenseKey = "your key";
. - 构建并运行该工程
- 打开之前的 Excel 导入和导出例子,然后将 URL 设置为 localhost:10787。