hello,i have a problem ,when i connect to a sqlserver database,if the machine has closed,or the machine have not a sqlserver service,my progrem will block about 30s,it's too long,so i change the connection string like that
SqlConnection con = new SqlConnection("server=192.168.1.28;uid=sa;pwd=itneste;database=FileTransport;Connection Timeout=5;");
and i set the command timeout =5,but not effect......
what's the problem,and how do?
View Complete Post