public static void InsertMysqlProductPacific() { ConectarEpslog(); string query = "select * from seguros_datosgenerales order by cAutoCode"; OleDbCommand commandselect = new OleDbCommand(query, Conex); OleDbDataReader reader = commandselect.ExecuteReader(); ConnectionMySQL.Connect(); while (reader.Read()) { ConnectionMySQL.InsertProductPacific(reader.GetValue(20).ToString(), reader.GetValue(2).ToString()); } ConnectionMySQL.Disconnect(); FinalMessage(); }