sample program to connect mysql server by using odbc

S

shun

Hello,

I need an sample program to connect mysql server by using odbc.

thanks in advance
 
N

Nicholas Paldino [.NET/C# MVP]

shun,

Why are you going to use ODBC? You can use native providers for .NET.
Check out the section "Using MySQL Native .NET Providers" of the document
located at (watch for line wrap):

http://dev.mysql.com/tech-resources/articles/dotnet/index.html

Concidentally, if you have some other reason why you need to go through
ODBC, it will show you how to do that there. However, I recommend using the
MySql native drivers.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top