mysql 查詢輸出,中創(chuàng)建并使用MySql數(shù)據(jù)庫?
打開你的項(xiàng)目在項(xiàng)目上右鍵,選擇[管理NuGet程序包]在[瀏覽]選項(xiàng)卡中搜索MySql選擇MySql.Data,在右側(cè)勾選安裝的項(xiàng)目后,點(diǎn)擊[安裝]按鈕相應(yīng)的dll就安裝到項(xiàng)目了var mssb = new MySqlConnectionStringBuilder();MySqlConnection sqlConnect = new MySqlConnection(mssb.ConnectionString);