I have downloaded the connector in the MySql site. It is the connector 5.0
I also installed the setup file and I can see the changelog and documentation. All I need now is that how to put it in my C# application.
I want it to be shown in the uppermost code of my application where the code starts with
along with the others. Please help.
Thanks and more power. ^_^
You're on the right track.
You will also need to add a reference to the mysql.dll (or mysqlconnect.dll or whatever it's called, the exact name escapes me) to your project - this is the step you are properly missing.
To add a reference right-click the project name in visual studio and select "add reference". Then browse the mysql DLL file.
but the problem is that. when I add a reference in the project menu as you have described, a dialog box appears with nothing in it except 2 buttons (OK/CANCEL). I tried repairing the installation but still the case is the same.
Hope you got a solution to this. Been trying to figure it out for 4 hours now. :-(