System.Data.OleDb 9.0.0-preview.1.24080.9

About

This package implements a data provider for OLE DB data sources.

Key Features

Allows access to legacy OLE DB data sources.

How to Use

This is a basic example of retrieving the results of a query using an OleDbDataReader. For examples of using an OleDbDataAdapter, and of updating an OLE DB data source, please see the documentation.

using System.Data.OleDb;

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

using OleDbConnection connection = new OleDbConnection(connectionString);
using OleDbCommand command = new OleDbCommand(queryString, connection);

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

while (reader.Read())
{
    Console.WriteLine(reader.GetInt32(0) + ", " + reader.GetString(1));
}

Main Types

  • OleDbConnection represents an open connection to an OLE DB data source.
  • OleDbCommand represents an SQL statement or stored procedure to execute against an OLE DB data source.
  • OleDbDataReader provides a way of reading a forward-only stream of data rows from an OLE DB data source.
  • OleDbDataAdapter represents a set of data commands and a database connection that are used to fill a DataSet and update the OLE DB data source.

Additional Documentation

System.Data.Odbc is a similar package for accessing ODBC data sources.

Feedback & Contributing

System.Data.OleDb 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.OleDb.

Packages Downloads
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
154
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
151
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
116
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
60
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
45
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
24
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
21
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
14
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
12
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
9
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
7
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
2
Magicodes.Next.MicrosoftAccess
The next version of [Magicodes.IE]( https://github.com/dotnetcore/Magicodes.IE ), a more friendly library to use in ABP framework.
1

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
9.0.0-rc.1.24431.7 1 9/19/2024
9.0.0-preview.7.24405.7 0 8/13/2024
9.0.0-preview.6.24327.7 0 7/9/2024
9.0.0-preview.5.24306.7 0 6/11/2024
9.0.0-preview.4.24266.19 0 5/21/2024
9.0.0-preview.3.24172.9 0 4/11/2024
9.0.0-preview.2.24128.5 0 3/12/2024
9.0.0-preview.1.24080.9 1 3/3/2024
8.0.0 2 3/5/2024
8.0.0-rc.2.23479.6 1 3/3/2024
8.0.0-rc.1.23419.4 0 9/12/2023
8.0.0-preview.7.23375.6 0 8/8/2023
8.0.0-preview.6.23329.7 1 3/3/2024
8.0.0-preview.5.23280.8 0 6/13/2023
8.0.0-preview.4.23259.5 1 3/3/2024
8.0.0-preview.3.23174.8 0 4/11/2023
8.0.0-preview.2.23128.3 1 3/3/2024
8.0.0-preview.1.23110.8 1 3/3/2024
7.0.0 4 3/14/2023
7.0.0-rc.2.22472.3 1 3/3/2024
7.0.0-rc.1.22426.10 0 9/14/2022
7.0.0-preview.7.22375.6 1 5/28/2024
7.0.0-preview.6.22324.4 0 7/12/2022
7.0.0-preview.5.22301.12 0 6/14/2022
7.0.0-preview.4.22229.4 1 3/3/2024
7.0.0-preview.3.22175.4 0 4/13/2022
7.0.0-preview.2.22152.2 1 3/3/2024
7.0.0-preview.1.22076.8 0 2/17/2022
6.0.2-mauipre.1.22102.15 1 3/3/2024
6.0.0 6 12/25/2022
6.0.0-rc.2.21480.5 1 3/3/2024
6.0.0-rc.1.21451.13 0 9/14/2021
6.0.0-preview.7.21377.19 1 3/3/2024
6.0.0-preview.6.21352.12 1 3/3/2024
6.0.0-preview.5.21301.5 1 3/3/2024
6.0.0-preview.4.21253.7 0 5/24/2021
6.0.0-preview.3.21201.4 1 3/3/2024
6.0.0-preview.2.21154.6 1 3/3/2024
6.0.0-preview.1.21102.12 1 3/3/2024
5.0.0 1 3/3/2024
5.0.0-rc.2.20475.5 0 10/13/2020
5.0.0-rc.1.20451.14 0 9/14/2020
5.0.0-preview.8.20407.11 0 8/25/2020
5.0.0-preview.7.20364.11 1 3/3/2024
5.0.0-preview.6.20305.6 1 3/3/2024
5.0.0-preview.5.20278.1 0 6/10/2020
5.0.0-preview.4.20251.6 1 3/3/2024
5.0.0-preview.3.20214.6 1 3/3/2024
5.0.0-preview.2.20160.6 0 4/2/2020
5.0.0-preview.1.20120.5 1 3/3/2024
4.7.1 2 3/3/2024
4.7.0 1 3/3/2024
4.7.0-preview3.19551.4 0 11/13/2019
4.7.0-preview2.19523.17 1 3/3/2024
4.7.0-preview1.19504.10 0 10/15/2019
4.6.0 0 9/23/2019
4.6.0-rc1.19456.4 1 3/3/2024
4.6.0-preview9.19421.4 0 9/4/2019
4.6.0-preview9.19416.11 0 9/4/2019
4.6.0-preview8.19405.3 1 3/3/2024
4.6.0-preview7.19362.9 0 7/23/2019
4.6.0-preview6.19303.8 1 3/3/2024
4.6.0-preview6.19264.9 0 9/4/2019