I'm using SQL Server 2008. I need to Enter the connection details through a windows form and save the connection details in a file.
The issue is, I need to use the same credentials for other forms without embedding the credentials in the code. Other forms should retrieve the connection details. In short, once the credentials are saved, other forms should also be able to use them without re-entering the credentials again and again
The question is, How do I do this?