re-connect to a database

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alberto Vera

    re-connect to a database

    Hello:

    I can connect to a database using ADO. I use this:
    if (self.conn.Stat e != ADO.adStateOpen ):
    self.__connectD B()

    In case I lost the connection, but I have a problem:

    When I unplug the wire (network) and I plug it one minute later, I can't send data to my database.

    Do you Know How I can re-connect in this case?

    Thanks
Working...