Isam.Data.IsamClient.Excel 1.0.0.26271

dotnet add package Isam.Data.IsamClient.Excel --version 1.0.0.26271
                    
NuGet\Install-Package Isam.Data.IsamClient.Excel -Version 1.0.0.26271
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Isam.Data.IsamClient.Excel" Version="1.0.0.26271" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Isam.Data.IsamClient.Excel" Version="1.0.0.26271" />
                    
Directory.Packages.props
<PackageReference Include="Isam.Data.IsamClient.Excel" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Isam.Data.IsamClient.Excel --version 1.0.0.26271
                    
#r "nuget: Isam.Data.IsamClient.Excel, 1.0.0.26271"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Isam.Data.IsamClient.Excel@1.0.0.26271
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Isam.Data.IsamClient.Excel&version=1.0.0.26271
                    
Install as a Cake Addin
#tool nuget:?package=Isam.Data.IsamClient.Excel&version=1.0.0.26271
                    
Install as a Cake Tool

Isam.Data.IsamClient.Excel

The Excel format for Isam.Data.IsamClient.Base. It reads and writes .xls and .xlsx workbooks as tables through NPOI, with no ACE, OLE DB, ODBC or Office installed. It is a separate package so NPOI stays out of the core provider.

  • Targets: net472, netstandard2.0, netstandard2.1 (NPOI's minimums; the core provider goes back to net35)
  • Brings in: Isam.Data.IsamClient.Base, NPOI
  • Workbook extensions: .xls, .xlsx, .xlsm, .xlt, .xltx

Usage

No setup is needed. The provider loads this assembly the first time a connection opens an Excel source.

using Isam.Data.IsamClient;

using var cn = new IsamConnection(
    @"Data Source=C:\Data\Sales.xlsx;Extended Properties=""Excel 12.0 Xml;HDR=YES;IMEX=1""");
cn.Open();

using var cmd = new IsamCommand("SELECT Region, SUM(Amount) FROM [Sheet1$] GROUP BY Region", cn);
using var r = cmd.ExecuteReader();

To register it explicitly (for example when the assembly isn't loaded by name), call this once at start-up:

Isam.Data.IsamClient.Excel.ExcelFormatRegistration.Register();

Without this package, opening an Excel source throws an IsamException that names it.

Tables

Name Is
[Sheet1$] the whole worksheet
[Sheet1$A1:C10] a cell range
MyRange a workbook-level named range
  • HDR=YES (default): the first row holds the column names. HDR=NO: columns are F1…Fn.
  • TypeGuessRows / Max Scan Rows sets how many rows are sampled to infer types. IMEX=1 reads every column as text.
  • Data Source can also be a directory; then each workbook in it is searched.
  • A missing workbook is created empty when the connection opens, as ACE does (not with Read Only=true).

Writing

Statement Effect
INSERT, UPDATE, DELETE rewrite the sheet's rows
CREATE TABLE adds a sheet with a header row, and creates the workbook if it doesn't exist
DROP TABLE removes a whole worksheet (a range can't be dropped); the last one leaves an empty workbook

Read-only cases:

  • a sheet with formulas or merged cells, since rewriting would destroy them
  • a connection opened with Read Only=true

Excel has no date before 1900-01-01.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Isam.Data.IsamClient.Excel:

Package Downloads
Net4x.DapperLibrary.Excel

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0.26271 163 9/28/2026