本帖最后由 any1order 于 2024-8-2 15:45 编辑
Aspose.Cells for .NET
使用方法
[C#] 纯文本查看 复制代码 using Aspose.Cells;
var license = new License();
var file = new FileStream("license.lic", FileMode.Open);
//引用授权文件
license.SetLicense(file);
var excel = new Workbook();
var sheet = excel.Worksheets.Add("test");
sheet.Cells["A1"].Value = "hi";
excel.Save("./test.xlsx", SaveFormat.Xlsx);
|