How to check if there is an error?...

How to check if there is an error?...

am 02.03.2005 06:42:59 von jungewum

Hi,
I have the following ASP...
set dbconn = server.createobject("ADODB.connection")
dbconn.open "dsn=news;uid=hello"

After the dbconn.open, how do I check if the dbconn.open has an error?
e.g. if dbconn has error
do something...

Thanks,
June.....