修改
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/>
|
||||
</startup>
|
||||
<appSettings>
|
||||
|
||||
<!--修改账套请修改这里的配置-->
|
||||
<add key="url" value="http://192.168.0.242/U8EAI/import.asp"/>
|
||||
<add key="connStr" value="Server=192.168.0.242 ;DataBase=UFDATA_003_2019;Uid=sa;Pwd=!@#qwe123;"/>
|
||||
</appSettings>
|
||||
|
||||
@@ -17,7 +17,6 @@ namespace U8AppMain
|
||||
DataTable data = new DataTable();
|
||||
try
|
||||
{
|
||||
|
||||
var workbook = WorkbookFactory.Create(steam);
|
||||
ISheet sheet;
|
||||
if (sheetName != null)
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user