Dim cmd1 As String = "INSERT OR REPLACE INTO data VALUES (?, ?, ?, ?, ?)"
Dim args As List = Array (item.UserField, item.KeyField, item.ValueField, item.idField, item.TimeField)
sql.AddNonQueryToBatch(cmd1, args)
sql.ExecNonQueryBatch("GetUserItem")
Private Sub GetUserItem_NonQueryComplete (Success As Boolean)
If Not(Success) Then
Log("Error writing to database: " & LastException)
Else
? <--- Here, I want to get item.KeyField
End If
I want to get some args when NonQueryComplete event fires..
How can I do that?
I'm trying with "Sender" and "Tag" without luck