The influence of three different modification methods on the photoelectrode introduced to dye-sensitized solar cells by anodic oxidative hydrolysis of acidic aqueous TiCl3 solutions was investigated. X-ray diffraction analysis shows that the nanocrystalline TiO2 prepared by sol-gel and electrodeposition is anatase. The average nanocrystalline size of TiO2 prepared by electrodeposition is 19nm and that by sol-gel method is 23.7nm. The surface structure of the nanoporous TiO2 films and TCO glass are observed by field-emission scanning electron microscopy before and after electrodeposition. It is found that the short-current density and the photoelectric conversion efficiency of dye-sensitized solar cells are improved a lot through these different methods.