更新时间:2022-06-12 10:34:33
SQL Server的连接字符串应类似于:"Server= localhost; Database= employeedetails; Integrated Security=True;"
A connection string for SQL Server should look more like: "Server= localhost; Database= employeedetails; Integrated Security=True;"
如果您有SQL Server的命名实例,则还需要添加它,例如"Server=localhost\sqlexpress"
If you have a named instance of SQL Server, you'll need to add that as well, e.g., "Server=localhost\sqlexpress"