|
-
Jun 24th, 2007, 08:53 PM
#1
Thread Starter
Addicted Member
Difference with using {} and try{} Catch{}
Hi Everyone,
Just a quick question, what is the difference between the using statement and the Try, Catch block?
i know that i have to manually dispose of the connection and command objects in the finally statement, but i always put something in the catch block, for error handling.
how is this error handling used in the using block?
Cheers,
Justin
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
|