Connecting MySQL with Visual Studio C#

前端 未结 5 494
情歌与酒
情歌与酒 2020-12-18 08:01

I\'m new to MySQL Workbench and I\'m trying to make a Timekeeping system. I\'m wondering how to connect MySQL with Visual Studio C#?

5条回答
  •  隐瞒了意图╮
    2020-12-18 08:47

    you'll need a "connector/driver" to connect from .net to mysql, you can find the official .net connector from mysql here:

    http://dev.mysql.com/downloads/connector/net/

    the connector will install the MySql.Data library that you has classes to communicate to MySql (MySqlConnection, MySqlCommand, MySqlDataAdapter, etc)

提交回复
热议问题