combobox value string to int

Posted by asli on Stack Overflow See other posts from Stack Overflow or by asli
Published on 2010-05-14T00:10:26Z Indexed on 2010/05/14 0:14 UTC
Read the original article Hit count: 611

Filed under:

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

© Stack Overflow or respective owner

Related posts about combobox