I am trying to write a small application in C#, where I need to connect to SQL to fetch some data, for that I need SQL user id and password, for same client there are other applications running which gets connected to SQL Server and have config file in encrypted form. I am not very good in C# and .Net, and have difficulty of understanding these concepts, I tried to search in post for answers but didn't get any suitable reply for my question. Can I use that already in use config file in my new project, and read user is and password information which are in encrypted form and use to connect to SQL server?
Any good stuff for understanding the use of config files in C# will be much appreciated, with good examples.
If you have administrative access to the SQL server, you can create an account that you can use for your connection.
If you have no admin rights, then you have to ask the admin to create an account for you... or tell you the credentials you can use.