-
How do I add column headings to a listview control? I tried this but it does not work:
ListView.ColumnHeaders.Clear
ListView.ColumnHeaders.Add , , "Title", 2000
ListView.ColumnHeaders.Add , , "Author"
ListView.ColumnHeaders.Add , , "Year", 350
ListView.ColumnHeaders.Add , , "ISBN"
What am I doing wrong???? I tried right clicking on the control and adding column headers via properties and once again no go.....
-
What type of view is it in? Column headers only appear if you set the view to "3 - lvwReport".
Cthulhu Dragon
-
Code:
ListView1.View = lvwReport