Sub Insertbtn_Click
Dim job1 As HttpJob
job1.Initialize("Insert", Me)
job1.Download2("https://sample.net/insertdata.php", _
Array As String("user_id",username))
End Sub
Sub Updatebtn_Click
Dim job1 As HttpJob
job1.Initialize("update", Me)
job1.Download2("https://sample.net/updatedata.php", _
Array As String("user_id",username))
End Sub
Sub Deletebtn_Click
Dim job1 As HttpJob
job1.Initialize("delete", Me)
job1.Download2("https://sample.net/deletedata.php", _
Array As String("user_id",username))
End Sub
Sub JobDone (Job AsHttpJob)
ProgressDialogHide
Log("JobName = " & Job.JobName & ", Success = " & Job.Success)
If Job.Success = True
Then
Select Job.JobName
Case "Insert"
Dim str AsString
str=Job.Getstring
msgbox(str,"title")
Case"update"
Case "delete"
End Select
End if
Job.Release
End Sub