Я новичок в SmartDeviceProject.Поэтому, когда я пытаюсь подключить MySQL к своему проекту, MissingManifestResourceException через в Connection.open ниже в коде?.
string connectionString = "server=192.168.1.100;database=mcubic;User Name=mcubic;Password=mcs@2011$;";
string query = "select b.Outlet_Master_Name from mcs_user_outlet a,outlet_master b where a.Mcs_User_Outlet_User_Id=3 and a.Mcs_User_Outlet_Outlet_Id = b.Outlet_Master_Id";
MySqlConnection connection = new MySqlConnection(connectionString);
MySqlCommand command = new MySqlCommand(query, connection);
connection.Open();
MySqlDataReader Reader = command.ExecuteReader();
while (Reader.Read())
{
comboBox1.Items.Add(Reader[0].ToString());
}
connection.Close();
Как мне решить эту проблему.Я импортирован MySql.Data.CF.dll для этого проекта.