How a get the ADO connection fail error?

C

Cylix

I would like to get the error context about the fail connection,
I am using ADODB.connection to connect the Database.

Now, I just using
Try
conn.open(connectionString)
Catch ex as exception
msgbox(ex.message)
End try

Any context just provided by ADODB to get more details about the fail?
 
G

Guest

Why do you use Classic ADO ???


why don`t you use the managed ADO.Net classes ???


regards

Michel Posseth [MCP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top