I am trying to specify the index of an item that I want to add to a combo box. This is the line of code I am using:
cboName.Items.Add(New ItemData(Name, NameIndex))
The output is:
ListViewItem: {Bob}
ListViewItem: {Sherry}
How do I display just the text of Name?
Example:
Bob
Sherry
cboName.Items.Add(New ItemData(Name, NameIndex))
The output is:
ListViewItem: {Bob}
ListViewItem: {Sherry}
How do I display just the text of Name?
Example:
Bob
Sherry