Tuoc,
Check connection.State ,
If connection active , it is 1, else 0
Berkay
--- tuoc le <tuochongle@y...> wrote:
> Please help!
>
> How do you write a vb code to check if a connection
> to sql database is
> active/inactive?
>
> Many Thanks
>
> Tuoc Le
>
> ---
> Visual C# - A Guide for VB6 Developers
> This book will make it easy to transfer your skills
> from Visual Basic 6 to C#, the language of choice
> of the .NET Framework.
>
http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059
>
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com