Gmnd-i
Gmnd-i

Reputation: 125

MySql.Data and C#

I'm new to C# and I'm having a little problem with SQL data connecting in visual studio C#. Im following this tutorial: Video

Add reference window

I cant see MySql.Data line shown in the picture above in my Add Reference window. I'm using visual C# 2010 express edition. How can I solve this? Do I need to install it manually or what?

Sorry for my English.

Upvotes: 0

Views: 109

Answers (2)

D.Rosado
D.Rosado

Reputation: 5773

Nuget-it, it's the easiest to get the up-to-date version, and update it when neccesary.

MySQL connector package

How to use Nuget?

Upvotes: 0

Ben
Ben

Reputation: 1963

MySql.Data will not be installed by default. You will need to install it:

http://dev.mysql.com/downloads/connector/net/

If you install it into the GAC (Global Assembly Cache) then you should be able to add reference and search in the installed assemblies. Otherwise you can do Add Reference>Browse and find it manually

Upvotes: 3

Related Questions