在實際環境中測試
在生產環境中測試而不帶水印。
適用於您所需的任何地方。
功能完善的產品
獲得 30 天完整功能產品。
幾分鐘內即可運行。
24/5 技術支持
在您的產品試用期間全面訪問我們的支持技術團隊
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);Install-Package IronXL.Excel
專為在 .NET 10、9、8、7、6、5、Core、Standard 或 Framework 上執行的 C#、F# 和 VB.NET 所設計。
您的試用密鑰應該在電子郵件裡。
如果沒有,請聯繫
support@ironsoftware.com