结合AI编程助手使用IronXL

Curtis Chau
Curtis Chau
更新: 2026年10月18日

IronXL是Iron Software为处理Excel文件而开发的.NET库。 它可以创建、读取和编辑XLSX以及旧版XLS工作簿,导入CSV和TSV文件,计算公式,并绘制图表,全部无需安装Microsoft Office。 自2019年以来,IronXL已在NuGet上发布,其教程中使用了WorkBook和WorkSheet。

类名未显示2026.10.1版本如何处理您的数据。 将字符串“8.27”作为单元格值赋予IronXL,它会存储为今年的8月27日。 导入开启字段转换的CSV,OrderId为000417时会返回为数字417。如果不调用EvaluateAll保存,文件可能会保留上次编辑前的公式结果。 这些问题均不会阻碍构建。

此页面为任何类似工作的助手做好准备。

  • 聊天风格助手会重写您选择的代码或从编辑器中回答问题。
  • 代理如ChatGPT Codex、Google Antigravity、Claude Code和Cursor会接收整个任务,随后构建并运行它们编写的代码。

设置对两者都相同,无论工作是读取CSV导出、编辑公式、添加图表还是加密工作簿。

Claude Code AI编程助手标志ChatGPT Codex AI编程助手标志GitHub Copilot AI编码助手徽标Cursor AI代码编辑器徽标Google Antigravity AI编码代理徽标

我的AI助手不能自行处理Excel吗?

仅凭记忆,助手会编写它在培训中看到的IronXL,其中可能包括当前版本没有的成员。 IronXL以工具可读的形式发布其文档,因此助手可以使用当前API。

将一组数字写入XLSX是简单的部分。 库之间的差异在于公式、旧版XLS输入、供应商CSV文件以及必须对外界关闭的工作簿。

  • Office Interop绑定代码到一个桌面:需要调用Interop的助手要求在代码运行的地方安装Excel,而IronXL包可在Windows、Linux和macOS服务器上运行。
  • 重写CSV解析器会增加代价:用手写的分隔工具替换IronXL的CSV导入代理会对每一次尝试付出代价,而新的解析器仍需学习IronXL已处理的引用规则。
  • 包名和命名空间不同:NuGet ID为IronXL.Excel,命名空间为IronXL。 猜测的ID可能会解析为一个为捕捉该猜测而发布的相似包,称为名称模糊攻击。 精确写下ID到提示中。

步骤1:安装IronXL

在包被引用时,助手可以检查IronXL的真实类型。

Add the IronXL.Excel package from NuGet and restore the project.
Then tell me which version the project file references.
Text

如果要从终端固定一个版本,请命名它。

dotnet add package IronXL.Excel --version 2026.10.5
SHELL

IronXL.Excel 2026.10.5仅依赖IronSoftware.Common和IronSoftware.System.Drawing。


步骤 2:应用您的许可证密钥

IronXL不会退回到带水印或有限制的模式。 没有密钥时,创建、加载或导入工作簿会抛出IronSoftware.Exceptions.LicensingException异常,消息为需要生产许可证。 输入错误的密钥时,首次调用会失败,显示未识别许可证密钥。 下面是一个免费试用密钥,许可页面提供了每个永久许可层的开发者、位置和项目数量。

从今天开始在您的项目中使用 IronXL 免费试用。

第一步:
arrow pointer

程序启动时仅需设置一次密钥,在任何IronXL调用之前,从IRONXL_LICENSE_KEY环境变量获取,以将其排除在源代码管理之外。

IronXL.License.IsLicensed在应用有效密钥后返回true,而IronXL.License.IsValidLicense报告所给密钥是否有效且未过期。 异常类型为内部,因此命名它的catch子句无法编译并报告CS0122。在启动时检查IsLicensed,或捕获Exception并读取消息。

请注意: 应用许可证密钥展示了如何将密钥保存到Web.config或appsettings.json中。

步骤3:指引助手到IronXL的LLM文档

  • llms.txt是链接索引,每页一行,应该放在每次会话的开头。
  • llms-full.txt中的一个文件内包含94页的摘要,适合概括性问题。
  • llms-full-catalog.txt将每篇博客文章添加到索引中,适用于比较和博客演练。
  • API参考列出所有命名空间、类型和成员。
  • 能加载技能文件的工具可以使用skill.md,涵盖安装、授权、配方和常见故障。
  • AI产品资料单提供了一页背景信息。
Fetch https://ironsoftware.com/excel/csharp/llms.txt before you write any spreadsheet code.
Stick to IronXL members that the index documents.

- Open workbooks with WorkBook.Load or WorkBook.Create.
- Import delimited text with WorkBook.LoadCSV and an explicit delimiter.
- Save with SaveAs.

Look up any member the index lacks at https://ironsoftware.com/excel/csharp/object-reference/api/.
If it's missing there too, tell me instead of making one up.
Text

当任务依赖一个指南时,要求助手打开那一页。


步骤4:在您的项目中添加IronXL上下文

聊天指令在聊天关闭时消失。 项目文件在每次会话打开时再次读取,因此将IronXL规则添加到您团队已经保存的文件中。 Claude Code读取CLAUDE.md,ChatGPT Codex读取AGENTS.md,GitHub Copilot读取.github/copilot-instructions.md。 Cursor在.cursor/rules/或AGENTS.md目录中读取.mdc文件。 Google Antigravity读取AGENTS.md或GEMINI.md。 规则在每个文件中读取的结果相同。

## Spreadsheets with IronXL

All Excel, CSV, and TSV work in this repo uses IronXL.
The NuGet package is `IronXL.Excel`. Its namespace is `IronXL`.
Number formats live in `IronXL.Formatting` and charts in `IronXL.Drawing.Charts`.

- Read the docs index at https://ironsoftware.com/excel/csharp/llms.txt.
- Read the skill file at https://ironsoftware.com/excel/csharp/skill.md.
- Set `IronXL.License.LicenseKey` from IRONXL_LICENSE_KEY at startup.
- Never write the key into a file.
- Import CSV with `WorkBook.LoadCSV`, passing the path, an XLSX format, and the delimiter.
- Choose `convertFieldValues` on purpose. Conversion strips leading zeros from ID columns.
- A numeric string such as "8.27" assigned to `Value` becomes a date.
- Write numbers as numbers and dates as `DateTime`.
- Call `EvaluateAll` before `SaveAs` so the file stores current formula results.
- Encrypt with `WorkBook.Password` or `SaveAs` with a password. `ProtectSheet` only locks editing.
- Save XLSX unless a task names XLS.
- Before calling a change done, reload every saved workbook.
- Compare the reloaded values with the source data.
- Add no Office Interop and no second spreadsheet library.
- If IronXL lacks a feature, ask before adding anything.
Markdown

技能文件正确处理加密、工作表保护和EvaluateAll。 它不会警告前导零或日期转换,因此请将这两行保留在您自己的文件中。其单文件示例仍然固定于2026.8.1,比NuGet上的2026.10.5包落后三个版本,因此请更新您项目使用的版本。


步骤5:一次性设置提示

步骤1到4装在一个消息中。 在项目启动时或任何新会话中发送它。

Set this project up for spreadsheet work with IronXL.
Store the rules below in the instructions file your later sessions load.

- Reference the IronXL.Excel NuGet package. Its namespace is plain IronXL.
- Read IRONXL_LICENSE_KEY into IronXL.License.LicenseKey at startup, before any WorkBook call.
- Never copy the key into a file.
- Before writing code, fetch https://ironsoftware.com/excel/csharp/llms.txt.
- Build only on members it documents.
- Look up anything else in the API reference before you rely on it.
- If you support skill files, load https://ironsoftware.com/excel/csharp/skill.md.
- When the compiler and the skill disagree, believe the compiler.
- Whenever code saves a workbook, open the saved file again.
- Compare the reopened file's cells and formula results with the data that went in.
Text
提示: 发送一次后,打开步骤4项目文件,检查规则是否已在其中。

步骤6:产生可用代码的提示模式

命名工作表、单元格和格式。 助手无法猜出哪个单元格重要或工作需要哪种文件格式。

模糊 使用IronXL将我们的订单转换成Excel报告。

更好 使用WorkBook.Create(ExcelFileFormat.XLSX)创建工作簿,将订单写入名为Orders的工作表,具有加粗的冻结标题行,应用BuiltinFormats.Currency2到UnitPrice列,在摘要表上按区域放置SUMIF。

给出版本和框架。 版本间的行为会有所不同,没有版本的助手可能会混合旧版和新版本。

更好 目标.NET 9和IronXL.Excel 2026.10.5。

要求完整文件。 片段会丢失using指令,这很重要,因为BuiltinFormats存在于IronXL.Formatting中,ChartType存在于IronXL.Drawing.Charts中。

更好 返回完整的Program.cs,包括每条using指令和许可证分配,以便其作为完整状态编译。


步骤7:验证收到的内容

每个这些错误都会在2026.10.1上重现。

  • 一个模糊的Range:使用隐式导入,将像A1:B2这样的工作表范围分配给Range变量会匹配IronXL.Range和System.Range,因而因CS0104失败。写IronXL.Range,或者添加一个别名。
  • 在范围上调用单元格成员:单元格索引A1仍然返回一个IronXL.Range,因此对结果调用AddComment会因CS1061失败。调用First来访问Cell。
  • 错误的分读器:WorkBook.Load将逗号文件分割为列,但其将每行带分号的文件整行放在列A中,并在含引号字段的分号文件上抛出FileLoadException异常。 将分隔符传递给WorkBook.LoadCSV,如CSV读取指南所示。

让代理验证其自己的工作

Rebuild in Release and run the program. Then check the result yourself:

- Name the documentation page behind each IronXL member you used.
- Print IronXL.License.IsLicensed.
- Reopen every workbook the program saved.

Give me a table of file, cell, value expected, value found, and whether they agree.
Text

CSV字段和单元格值转换

类型转换发生在两个地方。 这些结果来自IronXL.Excel 2026.10.1上的.NET 9。

WorkBook.LoadCSV接受convertFieldValues标志,默认值为true。

CSV中的字段开启转换关闭转换
000417 (ID)数字417文本000417
12.50 (价格)数字12.5文本12.50
2026-08-30 (日期)文本文本
2 在“Monitor 27"" matte"“后面文本文本
“螺栓; M8 锌镀层“一个字段一个字段

引用规则如RFC 4180所述工作,带重音的UTF-8名称如咖啡在有或没有字节顺序标记的情况下导入时仍可保存。 带转义的引用行,保留其下一个数字为文本,SUM和SUMIF忽略文本,而乘同一单元格的公式依然有效。

第二个地方是Value设置。 一个字符串作为单元格值被分解,形如月份和日期的字符串成为日期。 在我们的测试中,“1.5”存储为2026年1月5日,“2026-08-30”作为2026年8月30日,而“12.50”和“000417”保持为文本。

所以,将CSV字段以字符串复制的导入可以将8.27的价格转换成接近46,261的日期序列。安全的模式是在关闭转换的情况下导入,以不变的文化解析每列,并赋值int、decimal、double或DateTime的值。


保存文件中的公式结果

IronXL在您读取公式时进行计算,因此通过IronXL重新加载工作簿的检查将始终看到当前答案。 保存的文件则是另一回事。 像openpyxl和pandas这样的读者只会看到文件存储的结果。

在我们的测试中,未读取或评估过的公式在SaveAs写入时没有存储的结果。 公式被读取一次,随后更改其输入并保存,文件中仍保留旧结果。重新加载后,IronXL报告新的总数为43,而openpyxl读取存储的5。在EvaluateAll之后以及SaveAs之后,每个公式都携带其当前值。 公式编辑指南出于相同原因调用EvaluateAll。

跨工作表引用按预期工作。 在订单工作表的范围上,摘要表中的SUMIF公式正确评估,保存为公式,并与其值一起重新加载。


IronXL返回的公式文本

检查每行订单都持有其收入公式可以比较公式文本,但IronXL不返回被给予的字符串。 我们在单元G2上分配了=E2*F2,2026.10.1,Formula属性在保存前和重载后都返回E2*F2,没有等号。 这是表XML中公式元素的内容。 IronXL自己的XML文档为Cell.Formula提供了=A2+A2+A3+A4作为示例,而公式编辑指南会写公式但只读取它们的结果。

无需等号写入的公式会回读不变,并且通过Value分配的公式以相同的方式丢失它的等号。 持有一个普通数字的单元返回null。 IronXL保持所给予内容的大小写和间距,因此=e5 * f5回读为e5 * f5。

所以一个自己检查比较公式文本与=E2*F2的检查会在正确的工作簿上失败。 在下面的提示中,这种类型的错误失败会让代理返回第11步去更改已经正确的报告代码。

整个列有第二个陷阱。除非每个单元都持有相同的公式,否则多单元范围上的Formula属性返回null。 范围G2:G5对于四个正确的按行公式为null,给予与E2:E5相同的答案,这根本不含有任何公式。 在每个Cell上测试IsFormula,并在从期望字符串中去除=后,才比较公式文本。


XLS输出限制

较旧的订单和会计系统仍然导出XLS,而IronXL可以读取和写入它。 写入它的能力有限制,而XLSX则没有。

手术XLSXXLS在2026.10.1
行1,048,576,随后抛出异常65,536,随后抛出ArgumentException异常
图表工作正常异常,消息建议使用XLSX
带密码的Password、Encrypt或SaveAs加密ArgumentException,仅支持.xlsx、.xlsm、.xltx
文本000501文本文本
DateTime日期日期,在重新加载后IsDateTime为true

IronXL写入的XLS文件是一个真正的Excel 97-2003工作簿。 其前八个字节是D0 CF 11 E0 A1 B1 1A E1,复合文件签名,这是确认助手未将XLSX内容保存为.xls名称的一种快速方式。


工作表保护和文件加密

要求“密码保护的工作簿”时,助手可能选择IronXL的两个功能之一。 它们的行为有所不同。

以前几个字节无密码错误密码
在每个表中使用Q3-review的ProtectSheet50 4B 03 04 (ZIP)打开打开
WorkBook.Password、SaveAs用密码,或Encrypt,然后SaveAsD0 CF 11 E0 (加密)ArgumentNullExceptionSecurityException,无效密码

四个均可用正确密码打开。 ProtectSheet 意在阻止Excel内部编辑,但不加密任何信息。 当需求为外部不能读取文件时,要求明确加密,如工作簿密码指南所述。 Encrypt 也将加密工作簿返回为流并将密码存储在工作簿上,这也是为什么随后的SaveAs会写入一个加密文件。WorkBook.Load 用密码打开结果。


一个您可以重复的结果

测试是一个提示,您无需编写任何代码。 在一个空文件夹中打开一个新会话,粘贴提示,并与其下的通配列表比较返回结果。

请注意: 您需要.NET 9 SDK、网络连接、一个有权限运行终端命令的助手,以及IRONXL_LICENSE_KEY中的IronXL试用或生产密钥。

提示

Write a .NET 9 console program that merges two order exports into a regional sales workbook.
The working directory should be empty.
If a project or any source file is already there, tell me and stop.
Nobody can answer questions, so write, build, run and repair the program yourself.
Note every assumption you settle on, and put all deliverables in the project root.

1. Install the IronXL.Excel NuGet package pinned to version 2026.10.1.
Don't add any other release.

2. Use https://ironsoftware.com/excel/csharp/llms.txt and the guides it links as your reference.
Call no IronXL member they leave out.

3. At startup, assign IronXL.License.LicenseKey from the IRONXL_LICENSE_KEY environment variable.
Don't let the key appear in any file in the project folder.
The program reads that variable itself, so never print its value.
Don't list environment variables either.
If IronXL.License.IsLicensed is false, say so and exit.

4. Write a generator for the two input files.
Use random seed 2026, and create the inputs only when they're absent.

Every order in both files follows these rules:
- OrderIds are six digits with leading zeros.
- They count up from 000101 and never repeat across the two files.
- Dates fall between July 1 and September 30, 2026.
- Regions are North, South, East, and West in unequal shares.
- Quantity is 1 to 40.
- Every UnitPrice has cents other than .00.

Products come from a catalog of eight or more names.
At least two names contain each of these:
- A semicolon.
- A double quote.
- A letter outside ASCII. An accented e or a German sharp s will do.

orders.csv holds 200 orders in this shape:
- It's UTF-8 and semicolon-delimited.
- Its header is OrderId;Date;Region;Product;Quantity;UnitPrice.
- It quotes the fields with those characters in RFC 4180 style.

legacy.xls is a genuine Excel 97-2003 workbook written by IronXL.
It holds 50 further orders under the same six headers, stored like this:
- OrderId cells are text.
- Date cells are dates.
- Quantity and UnitPrice cells are numbers.

Then write manifest.csv from the generator's in-memory records:
- It's comma-delimited and quoted in the same RFC 4180 style.
- Each order gets one row with its source file and all six values.

5. Measure the inputs before the first load.
Whenever a figure falls outside its range, fix the generator and generate the inputs again.

orders.csv needs exactly 200 data rows.
Count these three kinds of rows in it separately. Each count must be 15 or more:
- Rows with a semicolon in Product.
- Rows with a double quote.
- Rows with a non-ASCII letter.

Then measure these figures:
- OrderIds that start with 0: all 250.
- Prices with cents other than .00: 225 or more.
- The first eight bytes of legacy.xls: D0 CF 11 E0 A1 B1 1A E1.
- Order counts per region: four different numbers.
- Revenue per region: every two regions at least 1,000 apart.

Once the program has loaded the inputs for the first time, orders.csv and legacy.xls are frozen.
Don't rewrite or edit them.

6. Load both inputs and save sales-report.xlsx.

Its Orders sheet holds all 250 orders under the six input headers plus Revenue:
- OrderId is text.
- OrderId, Region and Product are identical to the input.
- Date is a date, and Quantity and UnitPrice are numbers.
- Revenue is a formula multiplying Quantity by UnitPrice in every row.

The Summary sheet has the columns Region, Units, and Revenue:
- It has one row per region with Units and Revenue as SUMIF formulas over the Orders sheet.
- A Total row of SUM formulas follows the region rows.
- Add a column chart of revenue by region to Summary.

Give Revenue a currency format.
Make the header row bold and frozen on both sheets.

The saved file must hold every formula's current result.
That way a reader that never calculates formulas sees the same figures.

7. The import is one fixed procedure.

The procedure has these rules:
- Use one IronXL load call with set options per file.
- Don't parse any input file by hand.
- Apply one conversion rule per column to every row.

Loading and report code may not do any of these things:
- Open manifest.csv.
- Hold an OrderId, product name, quantity or price as a literal.
- Compare a cell with an expected value.
- Patch individual rows.

Only the round-trip code reads the manifest.
Changing the procedure between runs is your job and never the program's.

8. Save sales-report-protected.xlsx, a copy that no one can open without the password Q3-review.
Encrypt the file. Locking sheets doesn't count.

9. Build in Release and run.

10. Reload both workbooks through IronXL and write roundtrip.md.
Start with each step 5 measurement as a number, then describe the import procedure.
After that, add a table with the columns check, expected, actual, and match.

The table has 16 rows, in this order:
- The Orders row count.
- Units for each region, then revenue for each region.
- Total units and total revenue.
- How many OrderIds and how many product names in Orders match the input exactly, 250 each.
- The number of charts on Summary.
- Whether the protected copy refuses both no password and a wrong one.
- Whether Q3-review opens it with 250 orders.

Expected figures come from the manifest, and actual figures from the reloaded workbooks.
Money must agree to the cent and the rest exactly.

11. Repair the program while any of the 16 rows fails.
Each time, read the failing rows and change the import or report code.
Then build and execute the program once more.
If the eighth execution still leaves failures, stop.
List those rows, every import procedure you tried, and your explanation of the cause.

When you're done, tell me these things, even if you stopped at step 11:
- The build result.
- The number of rows matched.
- The import procedure.
- The step 5 figures.
- Your assumptions.
Text

我们用IronXL 2026.10.1和种子2026上的参考程序校准了提示。在使用XLSX格式、分号分隔符、字段转换开启的情况下通过LoadCSV导入,然后复制转换后的值,匹配16行中的9行。 所有200个CSV OrderId丢失其前导零,并且由于转义引号后的48个数量保持为文本,每个区域的单位都不足。 关闭转换导入并复制字符串匹配到16个中的8个,因为价格8.27和10.11变成日期,使北区的收入为其实际值的3.9倍,南区为2.9倍。 明确解析每列并写入类型化的值在种子2026、77、4101和12345上匹配16个中的16个。该提示的早期草案在IronXL 2026.9.2上用纯ASCII产品名称、裸数字ID和由构建报告的相同代码读取的旧版总计通过了9个中的9个,因此几乎没有测试。

输出

Summary sheet of the sales report from the acceptance run, with SUMIF units and revenue per region, a total row, and a column chart of revenue by region

此图片是运行中sales-report.xlsx中的摘要表的渲染,基于保存文件存储的值和图表,而非Excel中的截屏。 运行的未编辑往返表保存每个步骤5的测量、导入过程和16行。

  • 该程序的第一次执行因第五步检查而中止,因为北区和南区各有90个订单,其收入相差921.94。 Claude Code扩展了区域份额,再次生成输入,并在下次执行中匹配所有16行,因此第11步中的修复循环从未运行。
  • 在此次运行的orders.csv中,启用转换进行加载,没有一个200个OrderId作为文本保存其前导零,并且38个数量为文本,因此明显的导入在这里也会失败。
  • 在编写程序之前,Claude Code在草稿文件夹中尝试了IronXL的CSV导入,并事先选好了安全程序。 它使用WorkBook.Load加载XLS,并为每列制定一个测试单元格自身类型的规则。
  • 输入数据测量为200个CSV订单,带分号的43种产品,还包括38个带转义引号的产品,以及48个包含非ASCII字母,共有9个中的9个步伐5测量落在范围内。
  • 摘要中包含8个SUMIF和2个SUM公式,储存单位总计5,337个,收入总计$549,169.80, 另有一个柱状图。 加密的副本用Q3-review打开至250个订单。
  • 有些步骤与页面中的运行不一样。 Claude Code从文件本身中计算CSV行数,但从生成器记录中获取跨文件的数值,而roundtrip.md说数据来自输入文件。 它通过LoadingOptions加载了两个输入,没有页面的llms.txt链接文档,并用env | grep -c检查密钥,将环境变量列入计数。 步骤1、3、5、7的提示在同一会话中发生。 安装保留了2026.10.1版本号的固定。 文档提示仅在API参考中找到PhysicalRowCount,并将LoadingOptions替换为WorkBook.LoadCSV和WorkBook.Load,因此发布的往返回文文件中描述了那个导入。 该测试又一次匹配了16个中的16个。 设置提示将规则写入CLAUDE.md并保存skill.md作为项目技能。 自检分别为每个成员命名一个文档页面,同意采样的69个单元格中的69个,并将每个工作簿的250行与清单匹配。我们再一次对没有IronXL的保存文件进行了每个通过标准的测量,一个新发布的程序版本生产了相同的表格。

通过的标准

  • 项目在发布版本中进行构建,未进行人工编辑。
  • roundtrip.md的所有16行均匹配,并且区域和总数据等于输入文件的总数。
  • 在项目文件夹中查找许可证密钥不会找到任何文件。
请注意: 尝试不同版本,编辑步骤1中的版本并阅读IronXL变更日志以了解变化。

运行记录

  • 该运行使用一台Windows 11 x64桌面电脑,搭载Core i9-14900KF和64 GB内存。
  • 每个项目都以.NET 9为目标。
  • 每个指南都使用IronXL.Excel 2026.10.1作为其唯一的IronXL包,除了Claude Code指南,其运行安装了2026.10.5。ChatGPT Codex添加Microsoft.Extensions.DependencyInjection 9.0.20到其转换器,而Codex、Copilot、Cursor和Antigravity测试项目运行在xUnit上。
  • 每个指南的持续时间是其页面上提示记录时间的总和,而本指南的行仅计算验收提示。
  • 最后测试:2026年10月15日,本指南的运行。 Google Antigravity在10月14日测试。Claude Code和GitHub Copilot在10月13日测试,Cursor在10月9日,而ChatGPT Codex在2026年10月7日测试。
指南助手和版本模型持续时间(分钟)
本指南Claude Code 2.1.277,一个会话,关闭权限提示Claude Opus 516.4
Claude CodeClaude Code 2.1.277,计划模式下的提示3Claude Sonnet 5,用Claude Opus 5用于提示353.8
ChatGPT CodexCodex CLI 0.160.0GPT-6 Luna59.0
GitHub CopilotGitHub Copilot CLI 1.0.97GPT-6 Luna,由Auto引导14.5
CursorCursor 3.23.23桌面应用Grok 4.753.1
Google AntigravityAntigravity CLI 1.3.5Gemini 3.8 Flash(高)44.9

代理特定指南

下列每个指南都将上面提到的步骤应用于一个工具和一个电子表格任务。

  • 结合Claude Code使用IronXL,用于读取百万行工作簿,使用仅前向流传输,内存和时间与完整工作簿加载比较
  • 结合ChatGPT Codex使用IronXL,用于将混合的XLS、XLSX、CSV和TSV文件夹转换为CSV、JSON和XML,针对每个输入有一个结果行,并处理损坏或受保护的文件
  • 结合GitHub Copilot使用IronXL,用于格式化现有报告解决方案中的输出,进行测试以重新加载每个工作簿并断言其格式
  • 结合Cursor使用IronXL,用于将工作簿编辑代码从Office Interop中移出,遵循保持Interop和EPPlus调用的规则
  • 结合Google Antigravity使用IronXL,用于ASP.NET Core页面,预览、验证并清理上传的工作簿,已通过实时浏览器会话中的上传证明

故障排除


有问题吗?

如果您有任何问题,请联系support@ironsoftware.com

Curtis Chau 拥有卡尔顿大学的计算机科学学士学位,专注于前端开发,精通 Node.js、TypeScript、JavaScript 和 React。他热衷于打造直观且美观的用户界面,喜欢使用现代框架并创建结构良好、视觉吸引力强的手册。

阅读更多

准备开始了吗?

NuGet 下载量 2,393,101版本:2026.11刚刚发布