1获取所有配置文件节点的类ConfigurationManager
2数据库节点<ConnectionStrings>
<add> name ="Sqlconnection" providerName="System.Data.SqlClient"
connetionString="server=.;uid=sa;pwd=221100;database=pubs"/>
</ConnetionString>
时间: 2024-10-10 16:42:21
1获取所有配置文件节点的类ConfigurationManager
2数据库节点<ConnectionStrings>
<add> name ="Sqlconnection" providerName="System.Data.SqlClient"
connetionString="server=.;uid=sa;pwd=221100;database=pubs"/>
</ConnetionString>