Wednesday, 31 May 2017

c# - reading from app.config file

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



ConfigurationSettings.AppSettings["StartingMonthColumn"]



but it is returning null, also ConfigurationSettings.AppSettings.Count returns zero



Please help me to read this in my windows application























No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...