Esempio n. 1
0
        private void Play_c_Click(object sender, ImageClickEventArgs e)
        {
            ImageButton        clickedButton  = (ImageButton)sender;
            string             id_cancion     = Convert.ToString(clickedButton.ID).Replace('x', ' ');
            int                numero_cancion = Convert.ToInt16(id_cancion.Trim());
            CancionControlador cancion        = new CancionControlador();
            DataSet            datos_Cancion  = cancion.buscarporId(numero_cancion);
            string             nombre         = Convert.ToString(datos_Cancion.Tables["CANCION"].Rows[0]["url_cancion"]);

            Response.Redirect(nombre);
        }