billsecond
Programmer
Hello, this is kind of an easy question, in VB.6 i knew how to create a listview, now i have no idea, some things have changed....
In a detals listing format with the cols predefined in design time.... (col1, col2, col3, desc)
listview1.items.add(1) '1 is the index value
listview1.items(1).text = "col 1 of 1 line 1"
listview1.items(1).subitems(1).text = "col 2 of line 1"
listview1.items(1).subitems(2).text = "col 3 of line 1"
listview1.items(1).subitems(3).text = "Description (col 4 of line 1)"
How do you do it in in vb.net?
In a detals listing format with the cols predefined in design time.... (col1, col2, col3, desc)
listview1.items.add(1) '1 is the index value
listview1.items(1).text = "col 1 of 1 line 1"
listview1.items(1).subitems(1).text = "col 2 of line 1"
listview1.items(1).subitems(2).text = "col 3 of line 1"
listview1.items(1).subitems(3).text = "Description (col 4 of line 1)"
How do you do it in in vb.net?