here a piece of vb code where i have a problem:
If G_ObjConnectionTemp.State = ConnectionState.Closed Then
G_ObjConnectionTemp.Open()
End If
' at this stage the connection is verified to be open
Dim Obj_CommandF As New OleDbCommand("delete from ficheclient", G_ObjConnectionTemp)
Using G_ObjConnectionTemp
Obj_CommandF.ExecuteNonQuery()
End Using
Dim xx = G_ObjConnectionTemp.State.ToString
' at this stage however the connection is found to be closed Why?