悟生慧

 

连接字符串 config

ConfigurationManager.ConnectionStrings["connstring"].ConnectionString 

<connectionStrings> 
<add name="connstring" connectionString="server=.;uid=sa;pwd=111111;database=database" providerName="System.Data.SqlClient"/> 
</connectionStrings> 

posted on 2010-07-14 16:35  悟生慧  阅读(165)  评论(0编辑  收藏  举报

导航