string cmd = string.Format("EXEC GuardarUsuario '{0}','{1}','{2}','{3}','{4}','{5}','{6}'", txtNom.Text.Trim(), txtApe.Text.Trim(), txtMail.Text.Trim(), txtUsu.Text.Trim(), txtPass.Text.Trim(), timeAlta.Text.Trim(), timeBaja.Text.Trim());
Utilidades.Ejecutar(cmd);
MessageBox.Show("se ha guardado correctamente");
return true;
When I execute that line in my Visual Studio, it throws me that error that I show in image, but I do not know where I'm wrong because I think I converted them well.