Hi,
I am looping through a datatable. For each row in the datatable, after executing set of commands, I want an alert message to be displayed. I am using thread.sleep(5000). It does not display the message till it completes the for loop. Once the for loop
completes, it displays all the messages one after another.
Is there a way to pause the loop, display message and the ncontinue the loop?
Thank you.
for i =0 to dt.rows.count -1
'execute my code here
If Not (closerid = 0) Then
RadAjaxManager1.Alert(lastNm & ", " & firstNm & " is assigned to " & rName)
Threading.Thread.Sleep(5000)
ObjSched.BLL_Updatemytable(closerid, newpid)
End If
Next
...
Go to the complete details ...