reading from app.config file

后端 未结 8 2426
不知归路
不知归路 2020-11-29 19:34

I am trying to read StartingMonthColumn and CategoryHeadingColumn from the below app.config file using the code

ConfigurationSettings.AppSettings[\"StartingM         


        
8条回答
  •  猫巷女王i
    2020-11-29 20:00

    Try:

    string value = ConfigurationManager.AppSettings[key];
    

    For more details check: Reading Keys from App.Config

提交回复
热议问题