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