Hello all,
I'm currently migrating some code from VB6 to .NET v2. In VB6 I populated the list box with the code below, using Channel_ID as the index. I can't find a way though to do this in .NET. Has anyone any thoughts?
lstListBox.AddItem !Channel_Name
lstListbox.ItemData(lstListbox.NewIndex) = !Channel_ID
Thanks in advance.
Tim
I'm currently migrating some code from VB6 to .NET v2. In VB6 I populated the list box with the code below, using Channel_ID as the index. I can't find a way though to do this in .NET. Has anyone any thoughts?
lstListBox.AddItem !Channel_Name
lstListbox.ItemData(lstListbox.NewIndex) = !Channel_ID
Thanks in advance.
Tim