A connection string for the SQL Server should be looking more like: "Server= localhost; Database= employeedetails; Integrated Security=True;"
If you are having a named instance of the SQL Server, you would be needing to add that as well, e.g., "Server=localhost\sqlexpress"
If you want to learn more about SQL, Check out this SQL Certification by Intellipaat.
For more information visit :