using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using System.Data; using YTO.WeiXin.Model; namespace YTO.WeiXin.Core { public class ExcelToDB {…