I Use a loop to update many diferrent Row of a Table as so
For i=0 to Max
Try
MySQLCommand= New OleDbCommand(MySQLStatement, MyConn)
MySQLCommand.ExecuteNonQuery
' (1)***** System.Threading.Thread.Sleep(500)
Catch ex as Expition
End Try
Next
If i don't use Sleep (1)**** it will show an error that dababase is
locked. So I muss use Sleep to wait, but it works too long because I
have over 20 Rows to update.
How can i do that better .
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com