System.Data.Odbc 9.0.0-preview.4.24266.19

About

This package implements a data provider for ODBC data sources.

Key Features

Allows access to ODBC data sources.

How to Use

This is a basic example of retrieving the results of a query using an OdbcDataReader. For examples of using an OdbcDataAdapter, and of updating an ODBC data source, please see the documentation.

using System.Data.Odbc;

string connectionString = ""; // Fill in
string queryString = "SELECT DISTINCT CustomerID FROM Orders";

using OdbcConnection connection = new OdbcConnection(connectionString);
using OdbcCommand command = new OdbcCommand(queryString, connection);

connection.Open();
using OdbcDataReader reader = command.ExecuteReader();

while (reader.Read())
{
    Console.WriteLine("CustomerID={0}", reader[0]);
}

Main Types

  • OdbcConnection represents a connection to an ODBC data source.
  • OdbcCommand represents an SQL statement or stored procedure to execute against an ODBC data source..
  • OdbcDataReader provides a way of reading a forward-only stream of data rows from an ODBC data source.
  • OdbcDataAdapter represents a set of data commands and a database connection that are used to fill a DataSet and update the ODBC data source.

Additional Documentation

System.Data.OleDb is a similar package for accessing OLE DB data sources.

Feedback & Contributing

System.Data.Odbc is released as open source under the MIT license. Bug reports are welcome at the GitHub repository. This package is considered complete and we only consider low-risk, high-impact fixes that are necessary to maintain or improve quality.

Showing the top 20 packages that depend on System.Data.Odbc.

Packages Downloads
IKVM
Java SE 8 Virtual Machine for .NET
73
IKVM
Java SE 8 Virtual Machine for .NET
72
IKVM
Java SE 8 Virtual Machine for .NET
71
IKVM
Java SE 8 Virtual Machine for .NET
68
IKVM
Java SE 8 Virtual Machine for .NET
66
IKVM
Java SE 8 Virtual Machine for .NET
65
IKVM
Java SE 8 Virtual Machine for .NET
64
IKVM
Java SE 8 Virtual Machine for .NET
63
IKVM
Java SE 8 Virtual Machine for .NET
62
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard.
61
IKVM
Java SE 8 Virtual Machine for .NET
61
IKVM
Java SE 8 Virtual Machine for .NET
60
IKVM
Java SE 8 Virtual Machine for .NET
59
IKVM
Java SE 8 Virtual Machine for .NET
58

https://go.microsoft.com/fwlink/?LinkID=799421

.NET Framework 4.6.2

  • No dependencies.

.NET 8.0

.NET 9.0

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
10.0.0-preview.4.25258.110 5 05/15/2025
10.0.0-preview.3.25171.5 11 04/13/2025
10.0.0-preview.2.25163.2 15 03/20/2025
10.0.0-preview.1.25080.5 15 02/26/2025
9.0.5 4 05/16/2025
9.0.4 11 04/11/2025
9.0.3 12 03/12/2025
9.0.2 17 02/15/2025
9.0.1 18 01/20/2025
9.0.0 25 11/18/2024
9.0.0-rc.2.24473.5 23 10/12/2024
9.0.0-rc.1.24431.7 26 09/11/2024
9.0.0-preview.7.24405.7 31 08/14/2024
9.0.0-preview.6.24327.7 36 07/11/2024
9.0.0-preview.5.24306.7 24 06/18/2024
9.0.0-preview.4.24266.19 23 05/28/2024
9.0.0-preview.3.24172.9 34 04/20/2024
9.0.0-preview.2.24128.5 29 03/18/2024
9.0.0-preview.1.24080.9 33 03/04/2024
8.0.1 23 10/12/2024
8.0.0 32 11/14/2023
8.0.0-rc.2.23479.6 35 10/19/2023
8.0.0-rc.1.23419.4 38 09/13/2023
8.0.0-preview.7.23375.6 42 08/27/2023
8.0.0-preview.6.23329.7 41 08/18/2023
8.0.0-preview.5.23280.8 36 07/04/2023
8.0.0-preview.4.23259.5 42 07/09/2023
8.0.0-preview.3.23174.8 35 08/15/2023
8.0.0-preview.2.23128.3 39 07/22/2023
8.0.0-preview.1.23110.8 38 07/19/2023
7.0.0 41 11/30/2022
7.0.0-rc.2.22472.3 29 08/15/2023
7.0.0-rc.1.22426.10 34 08/08/2023
7.0.0-preview.7.22375.6 35 07/31/2023
7.0.0-preview.6.22324.4 32 08/08/2023
7.0.0-preview.5.22301.12 32 08/11/2023
7.0.0-preview.4.22229.4 30 08/15/2023
7.0.0-preview.3.22175.4 40 08/12/2023
7.0.0-preview.2.22152.2 37 08/04/2023
7.0.0-preview.1.22076.8 42 08/23/2023
6.0.2 22 11/20/2024
6.0.2-mauipre.1.22102.15 44 07/21/2023
6.0.2-mauipre.1.22054.8 38 08/09/2023
6.0.1 38 07/21/2023
6.0.0 35 07/26/2023
6.0.0-rc.2.21480.5 35 08/05/2023
6.0.0-rc.1.21451.13 35 07/16/2023
6.0.0-preview.7.21377.19 34 08/16/2023
6.0.0-preview.6.21352.12 51 07/16/2023
6.0.0-preview.5.21301.5 39 07/11/2023
6.0.0-preview.4.21253.7 40 07/25/2023
6.0.0-preview.3.21201.4 38 08/04/2023
6.0.0-preview.2.21154.6 39 08/07/2023
6.0.0-preview.1.21102.12 33 08/08/2023
5.0.0 32 08/29/2023
5.0.0-rc.2.20475.5 43 07/22/2023
5.0.0-rc.1.20451.14 42 08/16/2023
5.0.0-preview.8.20407.11 27 08/15/2023
5.0.0-preview.7.20364.11 32 08/04/2023
5.0.0-preview.6.20305.6 32 07/24/2023
5.0.0-preview.5.20278.1 35 08/17/2023
5.0.0-preview.4.20251.6 35 08/12/2023
5.0.0-preview.3.20214.6 40 08/06/2023
5.0.0-preview.2.20160.6 31 08/23/2023
5.0.0-preview.1.20120.5 41 07/17/2023
4.7.0 38 06/20/2023
4.7.0-preview3.19551.4 30 07/17/2023
4.7.0-preview2.19523.17 37 08/10/2023
4.7.0-preview1.19504.10 32 08/09/2023
4.6.0 36 07/04/2023
4.6.0-rc1.19456.4 35 08/07/2023
4.6.0-preview9.19421.4 31 08/10/2023
4.6.0-preview9.19416.11 37 08/07/2023
4.6.0-preview8.19405.3 36 08/04/2023
4.6.0-preview7.19362.9 36 08/05/2023
4.6.0-preview6.19303.8 32 08/07/2023
4.6.0-preview6.19264.9 31 08/03/2023
4.6.0-preview5.19224.8 33 07/20/2023
4.6.0-preview4.19212.13 38 08/09/2023
4.6.0-preview3.19128.7 35 08/09/2023
4.6.0-preview.19073.11 32 08/04/2023
4.6.0-preview.18571.3 38 08/15/2023
4.5.0 30 08/15/2023
4.5.0-rc1 34 07/19/2023
4.5.0-preview2-26406-04 33 07/24/2023
4.5.0-preview1-26216-02 37 07/16/2023
4.5.0-preview1-25914-04 32 08/14/2023