Using XML as a configuration File

G

Guest

I have generated a XML File to hold my SQL Connection data i.e UserName,
Password, Database & Server.

I know it's not the most secure but I have yet to research the encryption
levels on the file.

So I have my Schema & updates to the fields on my application screen updates
my XML File.
How do I use the properties set in the xml file for my SQL connections in
all 3 screens of my app?

The xml File looks as follows:

- <Settings>
<dbLogin>sa</dbLogin>
<dbPassword>SRV-MARC</dbPassword>
<dbDatabase>MISRE</dbDatabase>
<dbServer>SRV-MARC</dbServer>
</Settings>
</MISRE_XMLSchema>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top