- Joined
- Oct 25, 2004
- Location
- 127.0.0.1
hi, im trying to create an integer based on the selected item in a list box. the two ways i have tried don't work.
how can i do this ?
thanks
Code:
string integer;
integer = listBox1.SelectedItem.ToString();
int integer;
Code:
int listBox1.SelectedItem.ToString();
how can i do this ?
thanks