Hi,
I've posted the same question on c# visual forum, but haven't received an asnwer yet.
Sorry for double posting, but maybe somebody here will be able to help me.
I have the same problem with connectiontimeout in delphi and c#.
When an ip of the sql server is wrong the application hangs for about 42 before raise en exception that sql server doesn't exist.
static void Main(string[] args)
{
SqlConnection sql = null;
string Server = "172.16.0.34";
string Username = "my_username";
string Password = "my_password";
string Database = "my_database";
string ConnectionString = "Data Source=" + Server + ";";
ConnectionString += "User ID=" + Username + ";";
ConnectionString += "Password=" + Password + ";";
ConnectionString += "Initial Catalog=" & ...
Go to the complete details ...