当我运行程序时,它给出了以下错误
UPDATE 语句中的语法错误。
以粗体显示的错误说明
If (foundItem = True) Then
olDataConnection.Open()
olCommand = New OleDbCommand("UPDATE Stock SET Product Name=" & itemName & "WHERE Price =" & itemprice & "'", olDataConnection)
olCommand.ExecuteNonQuery()