M
Mark
I know that the whole point of the 'Finally' statement is to always execute,
but will it execute in the following statement:
dbConnection.Open
Try
rowsAffected = dbCommand.ExecuteNonQuery
Catch
Response.Redirect("../error.aspx?Error=2")
Finally
dbConnection.Close
End Try
or will the response.Redirect in the catch statement not allow it to
execute?
but will it execute in the following statement:
dbConnection.Open
Try
rowsAffected = dbCommand.ExecuteNonQuery
Catch
Response.Redirect("../error.aspx?Error=2")
Finally
dbConnection.Close
End Try
or will the response.Redirect in the catch statement not allow it to
execute?