C# Programming
11-15-2010, 04:10 AM
I have sql server code within try - catch and i have the following in the finally:
if reader is open the close()
if connection is open the close()
my question, do I still have to include the reader.close() and connection.close() at the end of try and catch or finally will always take care f it?
if reader is open the close()
if connection is open the close()
my question, do I still have to include the reader.close() and connection.close() at the end of try and catch or finally will always take care f it?