dotConnect for MySQL (former MyDirect.NET and Core Labs MySQLDirect.NET)
This is a .NET Framework Class Library provided by Devart.
The class library is contained in the file Devart.Data.MySql.dll.
The class library is contained in the file Devart.Data.MySql.dll.
Coding
Add a reference to the assembly Devart.Data.MySql and include the Devart.Data.MySql namespace. Instantiate a new MySqlConnection connection object. Set the connection string and open the connection.
VB.NET code sample
C# code sample
VB.NET code sample
Imports Devart.Data.MySql
Dim myConnection As MySqlConnection = New MySqlConnection;();
myConnection.ConnectionString = myConnectionString
myConnection.Open()
//execute queries, etc
myConnection.Close()
Dim myConnection As MySqlConnection = New MySqlConnection;();
myConnection.ConnectionString = myConnectionString
myConnection.Open()
//execute queries, etc
myConnection.Close()
C# code sample
using Devart.Data.MySql;
MySqlConnection myConnection = new MySqlConnection;();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
//execute queries, etc
myConnection.Close();
MySqlConnection myConnection = new MySqlConnection;();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
//execute queries, etc
myConnection.Close();
Description
Direct access to MySQL server through 100% managed code. Note that you also have to reference Devart.Data.dll (not only Devart.Data.MySql.dll).;
More info about this class library can be found at the Devart 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
