I need to integrate 2 TABLES
from DB
different into a same DGV
.
I found several tutorials, but none that helped me from configuration to the connection, at least not the way I work with the connections.
Follow an ex. of what I call a Select:
MySqlConnection conexaoSLT = ClassConexao.DBEMG();
MySqlCommand _comando = new MySqlCommand(String.Format("SELECT * FROM tabel1 WHERE Carro = @tipoCarro"), conexaoSLT );
MySqlDataReader _reader = _comando.ExecuteReader();
_reader.Read();
....
How can I connect two databases to a SELECT
UNION
?