Diabetic gastroparesis (DGP) is a serious and chronic complication of long-standing diabetes mellitus, which brings a heavy burden to individuals and society. Traditional Chinese medicine (TCM) is considered a complementary and alternative therapy for DGP patients. Huanglian (Coptidis Rhizoma, HL) and Banxia (Pinelliae Rhizoma, BX) combined as herb pair have been frequently used in TCM prescriptions, which can effectively treat DGP in China. In this article, a practical application of TCM network pharmacological approach was used for the research on herb pair HL-BX in the treatment of DGP. Firstly, twenty-seven potential active components of HL-BX were screened from the TCMSP database, and their potential targets were also retrieved. Then, the compound-target network and PPI network were constructed from predicted common targets, and several key targets were found based on the degree of the network. Next, GO and KEGG enrichment analyses were conducted to obtain several significantly enriched terms. Finally, the experimental verification was made. The results demonstrated that network pharmacological approach was a powerful means for identifying bioactive ingredients and mechanisms of action for TCM. Network pharmacology provided an effective strategy for TCM modern research.