Our team has developed a simple solution-based method to fabricate arrays of ZnO nanowires inside of a glass microchannel. The density of the wires is easily controlled by the concentration of the solution used during the seeding step. The resulting devices can be used for fast separations of long DNA by size. The fabrication method developed here is much faster and less expensive than conventional methods to create nanopost arrays, such as electron beam lithography.