If you must have Subsections, why do they need to be within the AppSettings element ? Isn't it viable for you to do this the way everyone else on Earth uses "Custom Configuration sections" ?
Hint, Hint ! On Jan 21, 11:54 am, vivek <[email protected]> wrote: > Hi, > > I want to give sub sections in the config file. > > Currently i have config file like: > > <appSettings> > <add key ="" value=""> > <add key ="" value=""> > <add key ="" value=""> > <add key ="" value=""> > </appSettings> > > I want to convert like this: > > <appSettings> > > <subSection1> > > <add key ="" value=""> > <add key ="" value=""> > > </subSection1> > > <subSection2> > > <add key ="" value=""> > <add key ="" value=""> > > </subSection2> > > </appSettings> > > please do help me in solving this problem.
