List View Columns 
Author Message
 List View Columns

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.



Tue, 14 Sep 2004 03:43:46 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. List View Column - - Possible items in a Single Column

2. Icons in List View Columns

3. List View Column Headers

4. List View Column Sizes

5. List View Column Sorting

6. List View Columns

7. List View Column Headings

8. List View - Columns y Fonts

9. Display Bitmaps in Sub Items and column Headers of List View During Report View

10. Formatting Column in List View

11. Sorting the content of list view on clicking column headers

12. Column width of List view

 

 
Powered by phpBB® Forum Software