I am attempting to use a sql query to update a record using the following:
cmd.CommandText = "UPDATE ScannerData Set DateReceived = " & Date.Now & " WHERE ScanNumber = " + TheReaderData.Text + ""
I receive a parse error at the Date.Now portion of the statement. Is there a way to use a sql UPDATE command and concatenate in the Data. Now?