error on ExecuteNoQuery()

Posted by AZIRAR on Stack Overflow See other posts from Stack Overflow or by AZIRAR
Published on 2010-05-28T17:11:33Z Indexed on 2010/05/28 18:32 UTC
Read the original article Hit count: 143

hey,

i'am trying to update a row in a table using :

command.ExecuteNoQuery()

it's not giving me an error but it's not updating the row

This is my code :

Dim req As String = "Update Table Set Id= 5"
Dim cmd As New OleDb.OleDbCommand(req, connect())
cmd.ExecuteNonQuery()
disconnect()

thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about update