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
<PackageReference Include="Isam.Data.IsamClient.Excel" Version="1.0.0.26271" />
<PackageVersion Include="Isam.Data.IsamClient.Excel" Version="1.0.0.26271" />
<PackageReference Include="Isam.Data.IsamClient.Excel" />
paket add Isam.Data.IsamClient.Excel --version 1.0.0.26271
#r "nuget: Isam.Data.IsamClient.Excel, 1.0.0.26271"
#:package Isam.Data.IsamClient.Excel@1.0.0.26271
#addin nuget:?package=Isam.Data.IsamClient.Excel&version=1.0.0.26271
#tool nuget:?package=Isam.Data.IsamClient.Excel&version=1.0.0.26271
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 tonet35) - 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 areF1…Fn.TypeGuessRows/Max Scan Rowssets how many rows are sampled to infer types.IMEX=1reads every column as text.Data Sourcecan 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 | Versions 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. |
-
.NETFramework 4.7.2
- Isam.Data.IsamClient.Base (>= 1.0.0.26271)
- NPOI (>= 2.8.1)
-
.NETStandard 2.0
- Isam.Data.IsamClient.Base (>= 1.0.0.26271)
- NPOI (>= 2.8.1)
-
.NETStandard 2.1
- Isam.Data.IsamClient.Base (>= 1.0.0.26271)
- NPOI (>= 2.8.1)
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 |