Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.
Private Function RemovePicture() As Integer Dim oC As New OleDbCommand Dim i As Integer Try oC = oleCnn.CreateCommand ###### The update syntax below is what I need help on. oC.CommandText = "Update Cars Set CarPic = nothing where carid = " & miCarID & "" oC.Connection.Open() i = oC.ExecuteNonQuery() Catch ex As Exception MessageBox.Show(ex.Message.ToString) Finally oC.Connection.Close() oC.Dispose() End Try If i > 0 Then Return True Else Return False End If End Function
Join the community of 500,000 technology professionals and ask your questions.