1

我有 Windows Server 2008 R2 和 SQL Server 2008。

SQL Server 具有 Window 身份验证,我可以在web.configASP.NET 应用程序的文件连接字符串中使用此 Windows 服务器身份验证吗?

4

1 回答 1

0

yes, create a udl file: open new file in notepad, save it as connection.udl double click the empty file and windows will open a connection editor applet. navigate to your database, make sure it tests ok. Open the udl file in notepad again, and that is your correctly formated connection string. Alternately add a linq class to your app and get automatically created classes against any stored procedures or tables you drag on to the design surface

于 2013-04-30T07:53:08.857 回答