Update / Oracle / VB.net

  • 14 years ago

    I am trying to update a row in a table. The sqlQuery below is not relevant, it works.

    The problem occures when myCommand.ExecuteNonQuwery() begins. Nothing happens and Visual Studio is doing nothing. Any errors in my code?

    Dim sqlQuery As String = "UPDATE ...."

    Dim myConnection As New OracleConnection(sConn)

    Dim myCommand As New OracleCommand(sqlQuery, myConnection)

    myConnection.Open()

    myCommand.ExecuteNonQuery()

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - Rick Osborne