protected void eliminarFisicamenteImagen(ClaseJuego jue) { funcionesJuegos fJue = new funcionesJuegos(); DataTable tabla = (DataTable)Session["ImagenesAelminiar"]; foreach (DataRow row in tabla.Rows) { fJue.EliminarImagenBD(row[0].ToString(), jue.codJuego); string rutaImagen = AppDomain.CurrentDomain.BaseDirectory + row[1].ToString().Remove(0, 2).Replace('/', '\\'); File.Delete(rutaImagen); } }