0
当我运行它提供了以下错误SQL UPDATE语句OleDbException
语法错误在UPDATE语句的程序。
在大胆
If (foundItem = True) Then
olDataConnection.Open()
olCommand = New OleDbCommand("UPDATE Stock SET Product Name=" & itemName & "WHERE Price =" & itemprice & "'", olDataConnection)
olCommand.ExecuteNonQuery()