in questo metodo :
codice:Public Function Cancella() As Boolean Connetti() internal_COMMAND = New SqlCommand(StringaSQL, internal_SQLCONN) Try Dim esito As Integer esito = internal_COMMAND.ExecuteNonQuery() Return True Catch ex As SqlException Return False internal_SQLCONN.Close() internal_EXCEPTION = ex.Message ' SCRITTURA NEL LOG Finally internal_SQLCONN.Close() internal_COMMAND.Dispose() End Try End Function
la connessione internal_SQLCONN viene sempre chiusa ?

Rispondi quotando
