tijian_jichuang/Code/SOH.FenZhen.Client/bin/Debug/xiaoy.Excel.config

27 lines
1.3 KiB
Plaintext
Raw Normal View History

2025-02-20 11:54:48 +08:00
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="ExcelVersion" type ="xiaoy.Excel.AppConfig,xiaoy.Excel"/>
<section name="ExcelTypeMap" type ="xiaoy.Excel.AppConfig,xiaoy.Excel"/>
</configSections>
<!--Excel文档链接配置-->
<ExcelVersion>
<add key="Excel3.0" value="Provider=Microsoft.Jet.OleDb.4.0; Data Source={0}; Extended Properties='Excel 3.0;HDR={1};'"/>
<add key="Excel4.0" value="Provider=Microsoft.Jet.OleDb.4.0; Data Source={0}; Extended Properties='Excel 4.0;HDR={1};'"/>
<add key="Excel5.0" value="Provider=Microsoft.Jet.OleDb.4.0; Data Source={0}; Extended Properties='Excel 5.0;HDR={1};'"/>
<add key="Excel8.0" value="Provider=Microsoft.Jet.OleDb.4.0; Data Source={0}; Extended Properties='Excel 8.0;HDR={1};'"/>
<add key="Excel12.0" value="Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties='Excel 12.0 Xml;HDR={1};'"/>
</ExcelVersion>
<!--Excel与.Net数据类型对应表-->
<ExcelTypeMap>
<add key="String" value="VarChar"/>
<add key="Double" value="Double"/>
<add key="Decimal" value="Decimal"/>
<add key="DateTime" value="Date"/>
<!--默认Excel类型当无法匹配时取此值-->
<add key="Default" value="VarChar"/>
</ExcelTypeMap>
<appSettings>
<add key="MaxSheelSize" value="65000"/>
</appSettings>
</configuration>