Saltar al pie de página
Logo de IronXL for .NET

Inicia tu prueba gratuita de IronXL
al instante

  • Crea y edita fórmulas de archivos Excel, gráficos e imágenes
  • Estiliza celdas, bordes, fuentes, y agrega hipervínculos
  • Compatible con XLSX, XLS, CSV, TSV, XML, y DataTables
  • Prueba gratuita de 30 días, todas las funciones, sin tarjeta de crédito
Trial key

Obtenga su Clave de Prueba de 30 días gratis al instante.

Su licencia de prueba se enviará a esta dirección

Check icon No se requiere tarjeta de crédito ni creación de cuenta

Test Icon

Probar en un entorno en vivo

Probar en producción sin marcas de agua.
Funciona donde lo necesites.

Functional Icon

Producto completamente funcional

Obtén 30 días de producto completamente funcional.
Instálalo y ejecútalo en minutos.

Support Icon

Soporte técnico 24/5

Acceso completo a nuestro equipo de soporte técnico durante tu prueba del producto

Cargar archivos de Excel sin 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

Explora el código y ejecútalo para ver el ejemplo.

Ingeniería de Clase Mundial,
Soporte 24 Horas
  • Support Team Member 2 related to Inicia tu prueba gratuita de IronXL 
al instante
  • Support Team Member 4 related to Inicia tu prueba gratuita de IronXL 
al instante
  • Support Team Member 6 related to Inicia tu prueba gratuita de IronXL 
al instante
  • Support Team Member 7 related to Inicia tu prueba gratuita de IronXL 
al instante
  • Support Team Member Iron related to Inicia tu prueba gratuita de IronXL 
al instante
Habla con un Experto

Equipo de soporte de Iron

Estamos disponibles online las 24 horas, 5 días a la semana.
Chat
Email
Llámame