It seems to me that if File.AppendAllText
throws an exception dbConn
won't be closed.
The dbConn.Close()
should be in a finally
block. (Exception inside catch block Exception inside catch block.)
It seems to me that if File.AppendAllText
throws an exception dbConn
won't be closed.
The dbConn.Close()
should be in a finally
block. (Exception inside catch block.)
It seems to me that if File.AppendAllText
throws an exception dbConn
won't be closed.
The dbConn.Close()
should be in a finally
block. (Exception inside catch block.)
It seems to me that if File.AppendAllText
throws an exception dbConn
won't be closed.
The dbConn.Close()
should be in a finally
block. (Exception inside catch block .)
It seems to me that if File.AppendAllText
throws an exception dbConn
won't be closed.
It seems to me that if File.AppendAllText
throws an exception dbConn
won't be closed.
The dbConn.Close()
should be in a finally
block. (Exception inside catch block .)