如何使用 IronXL 在 C# 中創建 Excel 文件
這個教程指導您如何使用 IronXL 庫在 C# 中創建 Excel 文件。學習安裝庫、創建工作簿和工作表、格式化單元格、應用公式和保護工作表,無需 Microsoft Excel 或 Excel Interop。
閱讀更多
Python Excel 函式庫
from ironxl import *
# Supported for XLSX, XLS, XLSM, XLTX, CSV, and TSV
workbook = WorkBook.Load("sample.xlsx")
# Select worksheet at index 0
worksheet = workbook.WorkSheets[0]
# Get any existing worksheet
first_sheet = workbook.DefaultWorkSheet
# Select a cell and return the converted value
cell_value = worksheet["A2"].IntValue
# Read from ranges of cells elegantly.
for cell in worksheet["A2:A10"]:
print("Cell {} has value '{}'".format(cell.AddressString, cell.Text))
# Calculate aggregate values such as Min, and Sum
total_sum = worksheet["A2:A10"].Sum()無需信用卡
您的試用密鑰應該在電子郵件裡。試用表單已提交
成功。
如果沒有,請聯繫
support@ironsoftware.com
在生產環境中測試,無浮水印。
無論您在哪裡需要,它都能運作。
立即獲取 30 天完整功能版產品。
幾分鐘內即可完成安裝並開始使用。
在產品試用期間,您可隨時聯繫我們的技術支援團隊
我們產品及其關鍵功能的即時示範
獲取專案特定的功能建議
我們已為您解答所有疑問,確保您獲得所需的所有資訊。(完全無需承擔任何義務。)

預約無需承諾的諮詢

預訂 30 分鐘的個人演示。
無須合約、無須卡號、無任何長期綁約。

