在實際環境中測試
在生產環境中測試無浮水印。
在任何需要的地方都能運作。
using IronXL;
using System;
using System.Linq;
// Supported for XLSX, XLS, XLSM, XLTX, CSV and TSV
WorkBook workBook = WorkBook.Load("sample.xlsx");
// Select worksheet at index 0
WorkSheet workSheet = workBook.WorkSheets[0];
// Get any existing worksheet
WorkSheet firstSheet = workBook.DefaultWorkSheet;
// Select a cell and return the converted value
int cellValue = workSheet["A2"].IntValue;
// Read from ranges of cells elegantly.
foreach (var cell in workSheet["A2:A10"])
{
Console.WriteLine("Cell {0} has value '{1}'", cell.AddressString, cell.Text);
}
// Calculate aggregate values such as Min, Max and Sum
decimal sum = workSheet["A2:A10"].Sum();
// Linq compatible
decimal max = workSheet["A2:A10"].Max(c => c.DecimalValue);
探索程式碼,使用NuGet安裝IronXL
專為設計 C#、F#、VB.NET運行於.NET 9、8、7、6、Core、Standard 或 Framework
IronXL 是領先的 C# Excel 函式庫,專門用於在 .NET 中生成和編輯 Excel 文件。其用戶友好的 API 允許開發人員在幾分鐘內為 .NET 專案添加 Excel 功能。
不需要信用卡
您的試用金鑰應該在郵件中。
如果不是,請聯繫
support@ironsoftware.com
免費開始
不需要信用卡
在生產環境中測試無浮水印。
在任何需要的地方都能運作。
獲得30天完全功能的產品。
幾分鐘內即可啟動並運行。
試用產品期間完全訪問我們的支援工程團隊
預約30分鐘的個人演示。
無合約,無卡片信息,無承諾。