In this letter, we show the results achieved using a hydrogenated amorphous silicon photosensor for a "label-free" deoxyribonucleic acid (DNA) analysis based on the measurements of the absorbance in the ultraviolet range. The optimization of the sensor structure allowed us to bring the detection limit for a 30-mer DNA sample down to 1 nMxcm, limited by the experimental setup. Taking advantage of the hypochromic effect, we also demonstrated the detection of single- and double-stranded DNA molecules in a melting experiment. From the noise characterization of our setup, we estimated the minimum DNA absorbance required to detect the occurrence of a hybridization/separation process to be below 10(-3).