コード例 #1
0
        public void ReadSupplierFromExcelTest()
        {
            string filePathSupplier = Environment.CurrentDirectory + @"\TestFiles\供应商104.xls";

            IList <Supplier> Supplier = bizSupplier.ReadSupplierListFromExcel(new System.IO.FileStream(filePathSupplier, System.IO.FileMode.Open)
                                                                              , out errMsg
                                                                              );

            Assert.AreEqual(104, Supplier.Count);
        }