请问:conncetionStrings与appSettings有什么区别
<?xml version="1.0" encoding="utf-8" ?><configuration>
<connectionStrings>
<add name ="nwConnStr" connectionString="server=TEACHER01\SQL2005E; database=北风贸易; integrated security=true"/>
</connectionStrings>
<appSettings>
<add key ="nwConnStr1" value ="server=TEACHER01\SQL2005E; database=北风贸易; integrated security=true"/>
</appSettings>
</configuration>
请问这两个用来读取数据库连接...有什么区别...
什么情况用connectionString
什么情况用appSettings
用哪一个好一点
各位大侠过来发表一下...谢谢