|
-
you can keep it as it's for more general exceptions.
the block i added will only catch exceptions for the insert, which is what you want to do.
the exception block that i added might need to be a bit more specific for a the program, you probablly want to specifically catch the primary key violation exception, and let any other exceptions drop down to the OTHERS clause of the one that's already there.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|