Firstly you question is not very clear.
You cannot add a textbox in a subitem of a listview.
But if you want to add subitems of a listview then you can use some code like
Dim pItem As ListViewItem
pItem = New ListViewItem
pItem.UseItemStyleForSubItems = False 'Use this line to style subitem
pItem.Text = "Text"
pItem.SubItems.Add("Subitem1")
pItem.SubItems(1).BackColor = Color.Red 'Use this line to change back color
Listview1.Items.Add(pItem)
And you need to set the
View
property of the listview to
Details