bjqrn
asked on
How to import a namespace?
I need to import the MySql.Data.MySqlClient namespace in vc.net 2003. I've installed Connector/Net 1.0.
How do I do this?
How do I do this?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Found it out, had to place the MySQL.Data.DLL in my Debug/Release directory then put managed extensions option on, then write this code:
#using "MySql.Data.dll"
using namespace MySql::Data::MySqlClient;
#using "MySql.Data.dll"
using namespace MySql::Data::MySqlClient;
ASKER
i:\projects\rpg\rpgserver\
i:\projects\rpg\rpgserver\