0

is it possible to set some values in the Web.config file via the Properties.Settings.Default... settings in a asp.net project?

EDIT: I know how to create the settings. but my question is: can I use them directly inside the XML of the webConfig. e.g. I devine a setting called database and then I use this variable inside the connection string in the web.config

gurehbgui
  • 14,236
  • 32
  • 106
  • 178
  • possible duplicate http://stackoverflow.com/questions/5274829/configurationmanager-appsettings-how-to-modify-and-save – yogi Feb 07 '13 at 11:05
  • its not a duplicate. I know how to create the settings. but my question is: can I use them directly inside the XML of the webConfig. e.g. I devine a setting called database and then I use this variable inside the connection string in the web.config – gurehbgui Feb 07 '13 at 11:17

0 Answers0