I'm new to C # development, I can't connect to my database via app.config, I don't know how to code the connetion in Form1_Load, here is my app.config file:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<!-- Les paramètres de l'application utilisateur et de propriété configurée se placent ici.-->
<!-- Exemple : <add key="settingName" value="settingValue"/> -->
<add key="BaseType" value="MSSQL" />
<add key="Serer" value="192.168.16.100\SQL2014" />
<add key="Base" value="REF" />
<add key="BaseDef" value="TESTREF" />
<add key="DossierSav" value="c:\bb\" />
<add key="ImressionDirecte.Checked" value="false" />
<add key="Soc.Text" value="XXXX" />
<add key="Licence" value="XXXX" />
<add key="Multi" value="" />
<add key="Licence" value=XXXX" />
</appSettings>
</configuration>
I await your help to advance in my project and thank you in advance.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<!-- Les paramètres de l'application utilisateur et de propriété configurée se placent ici.-->
<!-- Exemple : <add key="settingName" value="settingValue"/> -->
<add key="BaseType" value="MSSQL" />
<add key="Serer" value="192.168.16.100\SQL2014" />
<add key="Base" value="REF" />
<add key="BaseDef" value="TESTREF" />
<add key="DossierSav" value="c:\bb\" />
<add key="ImressionDirecte.Checked" value="false" />
<add key="Soc.Text" value="XXXX" />
<add key="Licence" value="XXXX" />
<add key="Multi" value="" />
<add key="Licence" value=XXXX" />
</appSettings>
</configuration>
I await your help to advance in my project and thank you in advance.