The SQL is wrong, how do i implement this
dvd is a string
thanks alot Jon
dvd is a string
VB.NET:
Dim cmd As New MySqlCommand
cmd.CommandType = System.Data.CommandType.Text
cmd.CommandText = "INSERT * from tblstock where StockBarcode = dvd (RentedOut) VALUES ('True')"
cmd.Connection = TheConnection
TheConnection.Open()
cmd.ExecuteNonQuery()
TheConnection.Close()
thanks alot Jon