Need help here ...
I had write some statements like below
---------------------------------------------------------------------
strConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=C:db.mdb"
objConnection = New OleDbConnection(strConnection)
objConnection.Open()
strSQL = "INSERT INTO `Employees` ( `FirstName` , `LastName` VALUES ( 'Teon' , 'Ooi' )"
objCmd = New OleDbCommand(strSQL, objConnection)
objCmd.ExecuteNonQuery()
---------------------------------------------------------------------
I run it and get "Operation must use an updateable query" in the browser.
Can anyone help me? I don't know what wrong with it!:(
|