mark
mark

Reputation: 31

importing mysqlclient in visual basic.net

Can anyone help me on how can I import "System.Data.MySqlClient" in visual basic.net?

When I'm typing that code it produce an underline to the code and having an error of undefined namespace. How will I do?

Upvotes: 1

Views: 9254

Answers (1)

Bjoern
Bjoern

Reputation: 16314

  1. Download and install the lastest .NET-Connector from www.mysql.com.

  2. Add the MySQL.Data in Visual Studio to your project references (Menu: project, Properties, References).

  3. Code!

Upvotes: 6

Related Questions