在實際環境中進行測試
在生產環境中測試,無浮水印。
無論您在哪裡需要,它都能運作。
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);
請檢視程式碼並執行,以查看範例 PDF 檔案
無需信用卡
您的試用密鑰應該在電子郵件裡。試用表單已提交
成功。
如果沒有,請聯繫
support@ironsoftware.com
在生產環境中測試,無浮水印。
無論您在哪裡需要,它都能運作。
立即獲取 30 天完整功能版產品。
幾分鐘內即可完成安裝並開始使用。
在產品試用期間,您可隨時聯繫我們的技術支援團隊
我們產品及其關鍵功能的即時示範
獲取專案特定的功能建議
我們已為您解答所有疑問,確保您獲得所需的所有資訊。(完全無需承擔任何義務。)
預約無需承諾的諮詢
預訂 30 分鐘的個人演示。
無須合約、無須卡號、無任何長期綁約。
