Synthesis of 1,4-dihydropyridines under solvent free conditions and investigation of their photo physical properties.