第一种(较老做法):appSettings
<add key="ConnectionString" value="Data Source=ORA11;User Id=ntsmp;Password=ntsmp;Integrated Security=no;"/>
第二种:connectionStrings
<connectionStrings>
<add name="ConnectionString" connectionString="Data Source=ORA11;Persist Security Info=True;User ID=ntsmp;Password=ntsmp;Unicode=True"
providerName="System.Data.OracleClient" />
</connectionStrings>
版本:Oracle10g