hello i searched it a lot but found no help.
i have some groups in my listview. and wanna add items to listview.
they indeed add to the listview but the group is not added to the item?
this is my code
what am i doing wrong it seems that it does not assign the group selected in the combobox
to the item i am adding
i have some groups in my listview. and wanna add items to listview.
they indeed add to the listview but the group is not added to the item?
this is my code
vb.net Code:
Dim lwvitem As New ListViewItem lwvitem.Text = TextBoxItem1.Text lwvitem.SubItems.Add("offline") lwvitem.Group = ListViewEx2.Groups(ComboBoxItem1.SelectedItem.ToString) lwvitem.ImageKey = 1 ListViewEx2.Items.Add(lwvitem)
what am i doing wrong it seems that it does not assign the group selected in the combobox
to the item i am adding