From 36ee148b78a7ca6449a7735561c2412453063c8a Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 21 Dec 2020 10:04:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- U8AppMain/App.config | 2 +- U8AppMain/ExcelHelper.cs | 1 - U8AppMain/XmlHelper.cs | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/U8AppMain/App.config b/U8AppMain/App.config index e4f693f..388343a 100644 --- a/U8AppMain/App.config +++ b/U8AppMain/App.config @@ -4,7 +4,7 @@ - + diff --git a/U8AppMain/ExcelHelper.cs b/U8AppMain/ExcelHelper.cs index c698964..b415d8d 100644 --- a/U8AppMain/ExcelHelper.cs +++ b/U8AppMain/ExcelHelper.cs @@ -17,7 +17,6 @@ namespace U8AppMain DataTable data = new DataTable(); try { - var workbook = WorkbookFactory.Create(steam); ISheet sheet; if (sheetName != null) diff --git a/U8AppMain/XmlHelper.cs b/U8AppMain/XmlHelper.cs index df7f639..cfb79b5 100644 --- a/U8AppMain/XmlHelper.cs +++ b/U8AppMain/XmlHelper.cs @@ -15,8 +15,6 @@ namespace U8AppMain { private static void XmlSerializeInternal(Stream stream, object o, Encoding encoding) { - - XmlSerializerNamespaces ns = new XmlSerializerNamespaces(); ns.Add("", ""); XmlSerializer serializer = new XmlSerializer(o.GetType());