Hello I am trying to connect my c# application I used this code I found on net but it doest seem to work here is the code
SqlConnection myConnection = new SqlConnection("user id=ayoya;" +
"password=12333;" +
"server=instance28181.db.xeround.com:18422;" +
"Trusted_Connection=yes;" +
"database=salam;" +
"connection timeout=30;");
try
{
myConnection.Open();
}
catch (Exception a)
{
Console.WriteLine(a.ToString());
MessageBox.Show("Failed");
}
can someone please tell me where I went wrong?