-1
我收到以下錯誤消息:asp.net網站主機的FTP服務器組件缺失錯誤,
CS0246: The type or namespace name 'MySqlConnection' could not be found
(are you missing a using directive or an assembly reference?
我使用下面的代碼:
MySqlConnection conn = new MySqlConnection(ConfigurationManager.ConnectionStrings["conn"].ConnectionString);
你的代碼在哪裏? – Jaguar
MySqlConnection conn = new MySqlConnection(ConfigurationManager.ConnectionStrings [「conn」] .ConnectionString); –
如果您將代碼添加到問題中會更好。 – Jaguar