How to check if connection isConne before Select via Connect

We try to find out how to check thats the connection to SQL-Server is open before we try to Select via the NET-Connector.

In other words:
If the connector can not connect to the Server (perhaps Firewall Problems) we want to inform the user that he can’t access for the Moment.

With best regards,
Uwe Janke

Hello,
you can add handler to the OnDBError event of the connector.

The connection is initialized right before the first SQL query is executed. If sql operation fails (whether on connection or on execution of the query), connector will fire OnDBError

docs.dhtmlx.com/doku.php?id=dhtm … nt_dberror

Example in the connectors package:
samples\dhtmlxGrid\dbErrorHandler.ashx