The digital nucleic acid assay is a precise, sensitive, and reproducible I method for determining the presence of individual target molecules separated in designated partitions; thus, this technique can be used for the nucleic acid detection. Here, we propose a multifunctional micropattern array capable of isolating individual target molecules into partitions and simultaneous on-site cell lysis to achieve a direct DNA extraction and digitized quantification thereof. The multifunctional micro pattern array is fabricated by the deposition of a copolymer film, poly(2- dimethylaminomethyl styrene-co-hydroxyethyl methacrylate) (pDH), directly on a microfluidic chip surface via the photoinitiated chemical vapor deposition process, followed by hydrophobic microcontact printing (mu CP) to define each partition for the nucleic acid isolation. The pDH layer is a positively charged surface, which is desirable for the bacterial lysis and DNA capture, while showing exceptional water stability for more than 24 h. The hydrophobic pCP-treated pDH surface is stable under aqueous conditions at a high temperature (70 degrees C) for 1 h and enables the rapid and reliable formation of thousands of sessile microdroplets for the compartmentalization of an aqueous sample solution without involving bulky and costly microfluidic devices. By assembling the multifunctional micropattern array into the microfluidic chip, the isothermal amplification in each partition can detect DNA templates over a concentration range of 0.01-2 ng/mu L. The untreated bacterial cells can also be directly compartmentalized via the microdroplet formation, followed by the on-site cell lysis and DNA capture on the compartmentalized pDH surface. For Escherichia coli O157:H7, Salmonella enteritidis, and Staphylococcus aureus cells, cell numbers ranging from 1.4 X 10(4) to 1.4 x 10(7) can be distinguished by using the multifunctional micropattern array, regardless of the cell type. The multifunctional micropattern array developed in this study provides a novel multifunctional compartmentalization method for rapid, simple, and accurate digital nucleic acid assays.