Sub JobDone(Job As HttpJob)
If Job.Success = False Then
Log("Error: " & Job.ErrorMessage)
Else
If Job.JobName = "DBRequest" Then
Dim result As DBResult = reqManager.HandleJob(Job)
If result.Tag = "cat 1" Then 'query tag
For Each records() As Object In result.Rows
Dim name As String = records(0) 'or records(result.Columns.Get("name"))
Log(name)
Next
End If
End If
End If
Job.Release
End Sub