SyntaxFix
Write A Post
Hire A Developer
Questions
A connection string for SQL Server should look more like: "Server= localhost; Database= employeedetails; Integrated Security=True;"
"Server= localhost; Database= employeedetails; Integrated Security=True;"
If you have a named instance of SQL Server, you'll need to add that as well, e.g., "Server=localhost\sqlexpress"
"Server=localhost\sqlexpress"