Just installed SQL Server 2005 express from Microsoft.
Everything working fine ... (apart from a stupid thing that you can not import your database...
I had to do it from Access).
My question is this:
How can I check if my SQL server is up and running at my application's runtime?
I would like my app to first establish a connection and if not display an error message.
What's the code?Thank's!
Start Free Trial