Passer au contenu du pied de page
Logo IronXL for .NET

Commencez votre Essai Gratuit de IronXL
Instantanément

  • Créer et modifier fichiers excel formules, graphiques et images
  • Style cellules, bordures, polices et ajouter des hyperliens
  • Compatible avec XLSX, XLS, CSV, TSV, XML, et DataTables
  • Essai gratuit de 30 jours, toutes les fonctionnalités, pas de carte de crédit
Trial key

Obtenez votre clé d'essai 30 jours gratuitement.

Votre licence d'essai sera envoyée à cette adresse

Check icon Aucune carte de crédit ou création de compte requise

Test Icon

Testez dans un environnement en direct

Testez en production sans filigranes.
Fonctionne où que vous en ayez besoin.

Functional Icon

Produit entièrement fonctionnel

Profitez de 30 jours de produit entièrement fonctionnel.
Configurez-le et faites-le fonctionner en quelques minutes.

Support Icon

Support technique 24/5

Accès complet à notre équipe de support technique durant votre essai produit

Charger des fichiers Excel sans Interop
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);
Imports IronXL
Imports System
Imports System.Linq

' Supported for XLSX, XLS, XLSM, XLTX, CSV and TSV
Private workBook As WorkBook = WorkBook.Load("sample.xlsx")

' Select worksheet at index 0
Private workSheet As WorkSheet = workBook.WorkSheets(0)

' Get any existing worksheet
Private firstSheet As WorkSheet = workBook.DefaultWorkSheet

' Select a cell and return the converted value
Private cellValue As Integer = workSheet("A2").IntValue

' Read from ranges of cells elegantly.
For Each cell In workSheet("A2:A10")
	Console.WriteLine("Cell {0} has value '{1}'", cell.AddressString, cell.Text)
Next cell

' Calculate aggregate values such as Min, Max and Sum
Dim sum As Decimal = workSheet("A2:A10").Sum()

' Linq compatible
Dim max As Decimal = workSheet("A2:A10").Max(Function(c) c.DecimalValue)
Install-Package IronXL.Excel

Explorez le code et exécutez-le pour voir l'exemple.

Ingénierie de Classe Mondiale,
Assistance 24 heures sur 24
  • Support Team Member 2 related to Commencez votre Essai Gratuit de IronXL 
Instantanément
  • Support Team Member 4 related to Commencez votre Essai Gratuit de IronXL 
Instantanément
  • Support Team Member 6 related to Commencez votre Essai Gratuit de IronXL 
Instantanément
  • Support Team Member 7 related to Commencez votre Essai Gratuit de IronXL 
Instantanément
  • Support Team Member Iron related to Commencez votre Essai Gratuit de IronXL 
Instantanément
Parlez à un Expert

Équipe de soutien Iron

Nous sommes en ligne 24 heures sur 24, 5 jours sur 7.
Chat
Email
Appelez-moi