Return
’ No error, so i can continue to code
end Try
Probably it’s way better to insert here the code …
After end try i can continue the code but before it should go a message that the execution of the query is it ok, correct ?
you should return a boolean and react if something go wrong.
if you use this method in a loop with many querys and each fail you will get many message pop up’s.
looks like
For i As Integer = 1 To 10
MessageDialog.Show(i.ToString)
Next