Advantage .NET Data Provider
This is a .NET Framework Class Library 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.
Connection Strings
Additional info or comments on this class library? Want to submit content?
Send an e-mail to
Send an e-mail to

Selected Articles
