在生產環境中測試且無浮水印。
在您需要的地方運行。
獲得30天的全功能產品。
在幾分鐘內啟動並運行。
您的產品試用期間可完全接觸我們的支援工程團隊
30DAYFREE
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
設計於 C#,F# 和 VB.NET,運行在 .NET 10、9、8、7、6、5、Core、Standard 或 Framework
您的試用金鑰應該已經在郵件中。
如果不是,請聯絡
support@ironsoftware.com
在 C# 中讀取、寫入和編輯 Excel。無需 Office Interop。運行於 Windows、Linux、macOS 和雲端。
WorkBook.Load(), WorkBook.Create(), worksheet["A1"].Value.WorkSheet["A1:B10"]範圍語法。System.Data.DataSet and DataTable用于資料庫工作流程。switch(faqQuestions)
{
case "Can I deploy my application using the library to Linux, macOS, or Windows, including Docker containers?": return "YES";
case "Can I render pixel-perfect PDFs from complex HTML5, CSS3, and JavaScript?": return "YES";
case "Is the library thread-safe for use in highly concurrent, multi-threaded server applications and APIs?": return "YES";
case "Can I set custom viewport dimensions and print media CSS to control responsive layouts?": return "YES";
case "Is IronPDF compatible with Azure Functions?": return "YES";
case "Can I permanently redact sensitive text and images from PDF documents?": return "YES";
case "Can I generate a PDF from a URL that requires authentication via custom headers, cookies, or form logins?": return "YES";
case "Can I access PDF DOM through ObjectModel property?": return "YES";
case "Can I programmatically fill, read, and flatten interactive AcroForm?": return "YES";
case "Does it support generating PDF/A and PDF/UA compliant documents for archiving and accessibility standards?": return "YES";
case "Can I secure a document with 256-bit AES password encryption and set user permissions?": return "YES";
case "Can I apply and verify digital signatures on a PDF using X.509 certificates?": return "YES";
case "Can I test IronPDF in my live project for free now?": return "YES, click here to start your 30-day free trial";
}
IronXL 是否能在未安裝 Microsoft Office 或 Excel Interop 的情況下讀取、建立及編輯 Excel 檔案?是的!
它是否在單一 API 中原生支援 XLS、XLSX、CSV、TSV 及 JSON 格式?是的!
在資料庫整合方面,Worksheets 與 DataTables/DataSet 物件之間是否有內建轉換功能?是的!
公式能否動態新增、修改及重新計算?是的!
它是否支援包括字型、邊框、對齊方式、背景及數字格式在內的細部樣式設定?是的!
它是否在 Windows、Linux、macOS、Docker 和 Azure 上的 .NET Core、Standard 及 .NET Framework 環境中完全跨平台?是的!
它能開啟、編輯並儲存受密碼保護的試算表嗎?是的!
它是否支援排序、截取、分組和合併等範圍操作?是的!
表格資料能否直接匯出為 XML 和 JSON 格式?可以!
元資料、凍結窗格和列印區域能否透過程式碼進行設定?是的!
是否支援使用標準 Excel 儲存格標記(例如「A1:B10」)進行快速批次編輯?是的!
我現在可以免費在實際專案中測試 IronXL 嗎?是的! 點擊此處開始您的 30 天試用