I have a list view control and want to display data in multiple columms. I
can't seem to get this to work. It creates the two columns, however it
displays all of the data in the first column.
Dim DS As DataSet
DS = TimeClockTotals(System.Environment.UserName)
DayList.Columns.Add("Entry Date", 10, HorizontalAlignment.Left)
DayList.Columns.Add("Total Hrs", 10, HorizontalAlignment.Left)
Dim row As DataRow
For Each row In DS.Tables("TimeClockTotals").Rows
DayList.Items.Add(row("EntryDate"), 0)
DayList.Items.Add(row("Total"), 0)
Next row
It currently creates both columns in detail view but lists all data
including the column names in the first column.