on-internet
← Community

Read/write Database Connection string in xml file using c# Windows Form

Stack Overflow ·

I am developing an c# application in which I need to fetch data from oracle database server. In my application I do not want to make a hard coded connection string because sometimes we have to connect it with different DB (for testing purpose it has same schema). For this I have a plan that I create an xml file and a new form(with admin rights) using this form I update/insert database credentials in xml file or use app.config, but the problem is i don't have any idea how to read and write xml file in predefined manner (in same manner as a connection string should be). Can you please help me ou

Comments

Sign in or sign up to comment and upvote.

No comments yet.