标题: 在发帖求VB.NET中Listview用法内容有图和代码 [打印本页] 作者: jili_rory0211 时间: 2011-12-10 17:02 标题: 在发帖求VB.NET中Listview用法内容有图和代码 Dim i, j As Integer
For i = 1 To 10
Dim list As New ListViewItem
list.Text = "" & i
'listview2.items.add(list)
For j = 10 To 13
Dim subitem As New ListViewItem.ListViewSubItem
subitem.Text = j
list.SubItems.Add(subitem)
Next
Next
'ListView2.Items.Add("" & i)
'ListView2.Items.Add("" & i)