views:

26

answers:

2

I am developing Desktop application using c#.net and MySql. Is there any solution to communicate with MySql with out any extra dll file. as I am using MySql.Data.dll and I have to put that file with my exe file which is not feasible solution.

A: 

It seems like an amazingly inefficient use of your time, but if distributing a MySql.Data.dll is really forbidden you could always download the source code and try to bundle it within your app. https://launchpad.net/connectornet

sdcoder
A: 

Alternatively you could try to merge the MySql.Data.dll into your exe using for example one of the tools discussed here. Or, if your app doesn't use the database heavily, you could create some kind of central service application that your app talks to (through web services, perhaps) and that in turn handles the database querying (using MySql.Data.dll).

Anders Fjeldstad