且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SQL Server连接

更新时间:2023-11-05 17:30:04

尝试使用此方法

Try to use this

<add name="strConnection" connectionstring="Data Source=<server IP / Name>;Initial Catalog=<database Name>;Persist Security Info=True;User ID=<Username>;Password=<UserPassword>" providername="System.Data.SqlClient" />