Hi,
I am using a listview to display data from a db, however i want to insert different fields into different column headings in the listview (using the report view), could any1 help me in showing me the code to add text to different columns?
Printable View
Hi,
I am using a listview to display data from a db, however i want to insert different fields into different column headings in the listview (using the report view), could any1 help me in showing me the code to add text to different columns?
lstView.ColumnHeaders(Index).Text =
no, that would rename the title of the column report, i want to add an item wich says test in say 3 columns! i dont want to change the name of the column header.
Code:Dim colData As ListItem
Set colData = Listview1.ListItems.Add (,,"Title")
colData.SubItems(1).Text = "hello"