Add settings on the Options tab in the properties of your project. Make sure this is a user area, not an application area, or that it will be read-only. Then go into it through Settings.Default.ConnectionString
Just keep in mind that this is not “safe” if that is your goal. Simply simplifies runtime changes compared to the configuration file. Please note that the settings are actually stored in the configuration file.
source share