Hi all,
Have a look at this config file structure:
<appSettings>
<add key="connstr" value="workstation id=test;packet size=4096;user
id=sa;data source=test;persist security info=False;initial
catalog=test;password=test" />
</appSettings>
<mysettings>
<add key="intErrorLogtype" value="1" />
<add key="EventLogKeyName" value="FRISBEE" />
<add key="sys_DBCheck" value="usp_CheckSQLConnection" />
<add key="strCEPath" value="" />
</mysettings>
As you can see i have added a new element called <mysetting> that will
contain additional things that I want to store outside of the standard
appsettings tree.
How, in code, do I retrieve values from the section in my app.config
file under the section <mysettings>
thanks in advance for your help on this matter
Kerr
PS this is a VB.NET windows Forms application
*** Sent via Developersdex http://www.developersdex.com ***