Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

my SQL?

Status
Not open for further replies.

A1METALHEAD

Programmer
May 21, 2004
76
US
is there anyway that you could make a program that would interface with a mySQL database with the visual c# 2005.net BETA? thanks
~metalhead
 
sure you can... you would need the ODBC driver for mysql with which you connect to the database then you would only interface SQL commands with user interface.

--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
 
...and then use a connection string like this:

MyConString = String.Format(
"DRIVER={{MySQL ODBC 3.51 Driver}};" +
"SERVER={0};" +
"DATABASE={1};" +
"UID={2};" +
"PASSWORD={3};" +
"OPTION=3", srvName, dbName, user, pwd);

your OPTION may differ though


------------------------
dev at viewmoresoft.com
tools for your database
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top