Im wondering once I catch an exception, how can I use the exception message in another page?
How can I pass this exception message into a label on another page? In order so I can have the exception message displayed with my own material. What is the best way to go about this?
Example:
Try
'logic in here
Catch ex As Exception
ex.Message 'pass this message of the exception so it can be used in a different page
End Try
How can I pass this exception message into a label on another page? In order so I can have the exception message displayed with my own material. What is the best way to go about this?
Example:
Try
'logic in here
Catch ex As Exception
ex.Message 'pass this message of the exception so it can be used in a different page
End Try