I have edit a few items in my comboBox1 on my Form.
The items in the comboBox exists of dates like this
So these 2 dates can be selected from the comboBox.
I am doing a calculation with the selected date in the comboBox1. This works without
If I write the date: 2001/01/01 manually instead of choosing ex: the date: 2001/01/01 in the comboBox1 and press my button that do the calculation, it comes up an errormessage.
"Unhandled exception has occured in your application" etc...
Why is this happening, what is the difference. I am not putting any blankspaces when I write manually. It is identical 100 % ?
I am get the contents from the comboBox1 like this:
String^ Date1; Date1 = comboBox2->SelectedItem->ToString();