tijian_jichuang/Code/SOH.IDCaraRead.Potevio.IDMR02_TG/bin/Debug/xiaoy.Excel.config
2025-02-20 11:54:48 +08:00

27 lines
1.3 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>