Developers community number 1 connection string reference

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.
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
Imports Devart.Data.MySql
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();


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
The dotConnect for MySQL (former MyDirect.NET and Core Labs MySQLDirect.NET) class library can be used to connect to the following data sources.

To see the available connection options, navigate to the connection strings reference by clicking the data source link.
Additional info or comments on this class library? Want to submit content?

Send an e-mail to
Copyright © 2010 ConnectionStrings.com   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.