string server = "192.168.1.28";
string database = "xxxxxx";
string uid = "yyyyy";
string password = "zzzzz";
string connectionString;
connectionString = "SERVER=" + server + ";" + "DATABASE=" +
database + ";" + "UID=" + uid + ";" + "PASSWORD=" + password + ";";
SqlConnection conn = new SqlConnection(connectionString);
ada = new SqlDataAdapter("select * from markdetail", conn);
ds = new DataSet();
ada.Fill(ds);
dataGridView1.DataSource = ds.Tables[0];
我正在使用此代码将 mysql 数据库连接到我的 c# 项目。但它显示这样的错误消息
如何解决这个任何人有想法?