combobox value string to int
- by asli
Hi,I have a question about converting types each other.I want to change the selected combobox value string to int but I get errors
my code:
int.Parse(age.SelectedItem.ToString());
What can I do for this problem?Thank you