Global threats of ssDNA geminivirus and ss(-)RNA tospovirus on crops necessitate the development of transgenic resistance. Here, we constructed a two-T DNA vector carrying a hairpin of the intergenic region (IGR) of Ageratum yellow vein virus (AYVV), residing in an intron inserted in an untranslatable nucleocapsid protein (NP) fragment of Melon yellow spot virus (MYSV). Transgenic tobacco lines highly resistant to AYVV and MYSV were generated. Accumulation of 24-nt siRNA, higher methylation levels on the IGR promoters of the transgene, and suppression of IGR promoter activity of invading AYVV indicate that AYVV resistance is mediated by transcriptional gene silencing. Lack of NP transcript and accumulation of corresponding siRNAs indicate that MYSV resistance is mediated through post-transcriptional gene silencing. Marker-free progenies with concurrent resistance to both AYVV and MYSV, stably inherited as dominant nuclear traits, were obtained. Hence, we provide a novel way for concurrent control of noxious DNA and RNA viruses with less biosafety concerns.