C#连接数据库代码
windows NT身份验证String connetionString = "server=localhost;database=Northwind;integrated security=true";
myConnectionString = "Initial Catalog=Northwind;Data Source=localhost;Integrated Security=SSPI"
或者sql验证
myConnectionString="Server=.;DataBase=Northwind;UID=sa;PWD=;"
补充:软件开发 , C# ,