C# : DBConnection.Open() timeout is too long.

Posted by leo on Stack Overflow See other posts from Stack Overflow or by leo
Published on 2010-03-23T13:31:19Z Indexed on 2010/03/23 13:33 UTC
Read the original article Hit count: 344

Filed under:
|

Hi,

I'm trying to connect to a server that the user inputs. When the server doesn't exist, I'd like to give a quick feedback to the end-user so he can correct what he's typed.

Is there any way to test if a server exists before trying to connect ?

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql