J
JJ
Hello all,
Convert.ToDouble(this.comboBox2.Text.Substring(0,10));
This can result in an error, but sometimes, it doesn't, because
this.comboBox2.Text.Substring(0,10) is a value that CAN be converted to a
double. Is there a way to check for this possibility, and only convert when
the value CAN be converted?
Thanks in advance,
Vincent
Convert.ToDouble(this.comboBox2.Text.Substring(0,10));
This can result in an error, but sometimes, it doesn't, because
this.comboBox2.Text.Substring(0,10) is a value that CAN be converted to a
double. Is there a way to check for this possibility, and only convert when
the value CAN be converted?
Thanks in advance,
Vincent