Hello everybody,Can someone help me fix my issue i cannot login into database,I have an open source project and need to know how to connect to db this is the ConnectionDatabaselink.cs
Code:class DatabaseConnectionLink { public string networkLink = "Server=" + Properties.Settings.Default["SQL_IP"] + ';' + "Database=" + Properties.Settings.Default["SQL_Database"] + ";" + "UID=" + Properties.Settings.Default["SQL_User"] + ';' + "PWD=" + Properties.Settings.Default["SQL_Pass"]; public string networkLinkDatabaseList = "Server=localhost" + Properties.Settings.Default["SQL_IP"] + ';' + "UID=" + Properties.Settings.Default["SQL_User"] + ';' + "PWD=" + Properties.Settings.Default["SQL_Pass"]; public string networkTestLink = "Server=localhost" + Properties.Settings.Default["SQL_IP"] + ';' + "UID=" + Properties.Settings.Default["SQL_User"] + ';' + "PWD=" + Properties.Settings.Default["SQL_Pass"]; public string networkLinkCreateDatabase = "Server=localhost" + Properties.Settings.Default["SQL_IP"] + ';' + "UID=" + Properties.Settings.Default["SQL_User"] + ';' + "PWD=" + Properties.Settings.Default["SQL_Pass"]; } }




Reply With Quote
