微软企业库Enterprise Library 5连接AS/400 UDB DB2的连接方法. (成功)
Enterprise Library 5 Connect to AS/400 UDB DB2. (Successed.)
<configSections>
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</configSections>
<dataConfiguration defaultDatabase="Asiadb_OdbcDb">
<providerMappings>
</providerMappings>
</dataConfiguration>
<connectionStrings>
<add name="Asiadb_OdbcDb"
providerName="System.Data.Odbc"
connectionString="Driver={Client Access ODBC Driver (32-bit)};System=asiadb;Uid=XXXX;Pwd=YYYY;DBQ=MAPSPLIBPR,MAPSFLIBPR,INFLIBPRH1,INPLIBPRH1,MAPSCOMF,MAPSUTIL,MAPSQGPL,QTEMP,ACCTCOMM,ACCTDATA,INFLIBPRA,INPLIBPRA,UTILITIES,QGPL;"/>
</connectionStrings>