Advantage .NET Data Provider
This .NET Framework Class Library is provided by Sybase.
Coding
Add a reference to the assembly and include the Advantage.Data.Provider namespace. Instantiate a new AdsConnection connection object. Set the connection string and open the connection.
VB.NET code sample
C# code sample
VB.NET code sample
Imports Advantage.Data.Provider
Dim myConnection As AdsConnection = New AdsConnection()
myConnection.ConnectionString = myConnectionString
myConnection.Open()
' execute queries, etc
myConnection.Close()
Dim myConnection As AdsConnection = New AdsConnection()
myConnection.ConnectionString = myConnectionString
myConnection.Open()
' execute queries, etc
myConnection.Close()
C# code sample
using Advantage.Data.Provider;
AdsConnection myConnection = new AdsConnection();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
// execute queries, etc
myConnection.Close();
AdsConnection myConnection = new AdsConnection();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
// execute queries, etc
myConnection.Close();
Description
The Advantage .NET Data Provider is a managed provider that offers native data access to the Advantage Database
Server and Advantage Local Server. The Advantage .NET Data Provider conforms to the ADO.NET data access model
and creates a seamless interface between the Advantage Database Server or Advantage Local Server and any .NET
development language including Microsoft Visual Studio .NET and Delphi for .NET.
Server and Advantage Local Server. The Advantage .NET Data Provider conforms to the ADO.NET data access model
and creates a seamless interface between the Advantage Database Server or Advantage Local Server and any .NET
development language including Microsoft Visual Studio .NET and Delphi for .NET.
More info about this class library can be found at the Sybase product page.
Download
.NET Framework Class Library (Advantage .NET Data Provider) can be downloaded here.
Connection Strings
Additional info or comments on this class library? Want to submit content?