T
tshad
I am trying to do:
*************************************
Try
objCmd.ExecuteNonQuery()
Catch e As Exception
response.write("We have a message: " & e.Message & "<br>")
End Try
************************************************
And I get the error:
*******************************************************************************
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: BC30616: Variable 'e' hides a variable in an
enclosing block.
Source Error:
Line 51: Try
Line 52: objCmd.ExecuteNonQuery()
Line 53: Catch e As Exception
Line 54: response.write("We have a message: " & e.Message & "<br>")
Line 55: End Try
*********************************************************************************
What is this saying?
I got this from someone elses program and "e" doesn't seem to be defined
anywhere.
Thanks,
Tom.
*************************************
Try
objCmd.ExecuteNonQuery()
Catch e As Exception
response.write("We have a message: " & e.Message & "<br>")
End Try
************************************************
And I get the error:
*******************************************************************************
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: BC30616: Variable 'e' hides a variable in an
enclosing block.
Source Error:
Line 51: Try
Line 52: objCmd.ExecuteNonQuery()
Line 53: Catch e As Exception
Line 54: response.write("We have a message: " & e.Message & "<br>")
Line 55: End Try
*********************************************************************************
What is this saying?
I got this from someone elses program and "e" doesn't seem to be defined
anywhere.
Thanks,
Tom.