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()