I'm using this conversion to get the string of txtvalor.text
and transform it to a value like this: 1.500,80
curso.Valor = double.Parse(txtValor.Text);
Example I type 1,500,80. And I'd like you to write to the database as well, in the MySQL database.