Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.
/ NDbfReader Public archive

A fully managed reader of DBF files. Fast and lightweight with async support.

License

Notifications You must be signed in to change notification settings

eXavera/NDbfReader

Repository files navigation

NDbfReader

==== This project is no longer maintained ====

A fully managed .NET library for reading dBASE (.dbf) files.

  • Fast and lightweight
  • Full async support

Supported platforms:

  • .NET 4.0 +
  • .NET Standard 1.3 (without AsDataTable methods)
  • .NET Standard 2.0+

Supported data types

Example

using (var table = Table.Open(@"D:\mytable.dbf"))
{
    var reader = table.OpenReader(Encoding.ASCII);
    while (reader.Read())
    {
        var row = new MyRow()
        {
            Text = reader.GetString("TEXT"),
            DateTime = reader.GetDateTime("DATETIME"),
            IntValue = reader.GetInt32("INT"),
            DecimalValue = reader.GetDecimal("DECIMAL"),
            BooleanValue = reader.GetBoolean("BOOL")
        };
    }
}

Installation

NuGet

Source

Install Visual Studio 2019+

Clone the repository and run build.cmd from Developer Command Prompt for VS.

Tests

Run the run-tests.cmd batch file.

License

MIT

About

A fully managed reader of DBF files. Fast and lightweight with async support.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published