G
Guest
I am trying to do a simple ExecuteNonQuery method on a very simple INSERT
statement. Please see code below.
Could anyone see why I would continue to get an "Operation must use an
updateable query" error on such a simple code fragment?
The connection (cn) is open.
dim sql1 as string = "insert into st_order (order_id) values ('9662441')"
dim cmd1 as new OleDbCommand
cmd1.connection = cn
cmd1.commandtext = sql1
cmd1.ExecuteNonQuery()
statement. Please see code below.
Could anyone see why I would continue to get an "Operation must use an
updateable query" error on such a simple code fragment?
The connection (cn) is open.
dim sql1 as string = "insert into st_order (order_id) values ('9662441')"
dim cmd1 as new OleDbCommand
cmd1.connection = cn
cmd1.commandtext = sql1
cmd1.ExecuteNonQuery()