Click event handlers for db, conn