Click here to Skip to main content
16,017,899 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Okay what i want to di is Make a .dll that holds all my mysql info in a .dll file so i can have it Connect when i need to and run select and insert comands and all that when i need to,

Does anyone have any knowledge about how to do this or any tutorials i could possibly try, because i have no clue how to even start this
Posted

1 solution

I assume you're familiar with solutions, projects, references and classes? If not, you'll need to familiarize yourself with those concepts before you tackle this project.

Once you understand those, the task is pretty straightforward.

Download and reference the .NET Connector for MySQL[^].

Then, simply add a DLL project to your solution and reference the library you've downloaded.

Add classes to the DLL project as required. Add methods to the classes that expose the data you're trying to get at.

Cheers.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900