TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ghali Mongi
NA
5
1.1k
connecter à une base de donnée via app.config
Apr 12 2020 3:39 PM
Salut à tous,
Je suis débutant dans le développement sous C#, je n'arrive pas à connecter à ma base de donnée via app.config, je ne sais pas comment codifier la connetion dans Form1, voila mon fichier app.config :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Test.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<Test.Properties.Settings>
<setting name="BaseType" serializeAs="String">
<value>"MSSQL"</value>
</setting>
<setting name="Serer" serializeAs="String">
<value>"192.168.16.248\SQL2014"</value>
</setting>
<setting name="Base" serializeAs="String">
<value>"REF"</value>
</setting>
<setting name="BaseDef" serializeAs="String">
<value>"BDTEST"</value>
</setting>
</Test.Properties.Settings>
</userSettings>
</configuration>
J'attends vos aides pour avancée dans mon projet et merci d'avance.
Reply
Answers (
1
)
C# Listview one columns with two rows
How to do If Statement to detect multiple words in a string?