Hi,

I'm trying to learn C++.NET and I've got a listbox with some items in it via Properties->Collection. They're strings and I want the user to choose one of the strings in the list box and then pass that string (a number from 1 to 12) to a function that will fill another list box with data from a database according to which number was chosen. Can I just use regular atoi to convert the string or do i need to use something like

listBox1->Text...conversion... ???

Thanks for your help.

Swaine777