I have been asked to make a program that gets the Sql database settings of the user.
And if possible, I wanted it to be automated while i’m at it.
I need to get a few values, like the username and password as mentioned in the title. Also, I need to get the db number off a certain database (let’s call it rabbit for now).
And to tell the truth… this is where i’m stuck as i have never used SQL.
edit:
a little formulating mistake, i do have knowledge of SQL but i have never used it with a C# combo (in fact all i know is theory of it).
Some links for start:
C#:
http://www.codeproject.com/KB/database/sql_in_csharp.aspx
http://www.dreamincode.net/forums/topic/31314-sql-basics-in-c%23/
SQL:
http://www.sqlcourse.com/index.html
http://beginner-sql-tutorial.com/sql.htm
http://www.w3schools.com/sql/default.asp
http://msdn.microsoft.com/en-us/library/ms159106.aspx?ppud=4