here's my code
Dim sql As String = "INSERT INTO tbldailysales(date, totalprice)VALUES(@date, @totalprice)"
cmd = New OleDbCommand(sql.ToString, con)
cmd.Parameters.AddWithValue("@date", lblday.Text)
cmd.Parameters.AddWithValue("@totalprice", lblstotal.Text)
cmd.ExecuteNonQuery()