The [2 + 2] photodimerization of Cd(II) 1,2-bis-(4-pyridyl)ethylene complex with a 3-D interpenetration network occurred in both the solid state and in the mixture solution of starting materials upon the irradiation of UV lamp with strong power or sunlight.