You need to parse the string to extract the price value and use the result to pass to the SQL command.
You should also learn to use parameters for SQL commands rather than string concatenation, as this opens your app up to
SQL injection[
^] attacks.