private void btnComposicion_Click(object sender, EventArgs e)
{
Conexxion();
cmd.CommandType = CommandType.Text;
cmd.CommandText = @"select distinct Al.titulo, A.nombre, A.sexo, Al.fecha_lanzamiento
from album Al, autores A, temas T, companias C
where Al.id_album = T.id_album and A.id_autor = T.id_autor and year (fecha_lanzamiento) in (2006,2008,2005) and cant_temas > 8 and
A.nombre not like 'G%' and duracion_album between '50' and '80'
order by fecha_lanzamiento";
dr = cmd.ExecuteReader();
while (dr.Read())
{
lstLista.Items.Add(newListBox(dr.get[text].ToString(), dr[value].ToString()));
}
cerrarConexion();
}