ASP.NET程序访问MS SQL的方法

1、集成Windows身份认证
<connectionStrings>
  <add name="NorthwindConnectionString" connectionString="Data Source=ALFRED;Initial Catalog=Northwind;Integrated Security=True" providerName="System.Data.SqlClient"/>
 </connectionStrings>
2、使用MS SQL的用户身份进行认证
posted @ 2009-09-21 20:26  风影极光  阅读(158)  评论(0编辑  收藏  举报