I have a listview with this columns
'Create the Columns name
lsvReport.Columns.Add("Project Name", 150, HorizontalAlignment.Center)
lsvReport.Columns.Add("Time In", 100, HorizontalAlignment.Left)
lsvReport.Columns.Add("Time Out", 100, HorizontalAlignment.Left)
lsvReport.Columns.Add("Total hours worked", 120, HorizontalAlignment.Left)
Now on the listview I can see the columns name OK, but when I do this
lsvReport.Items.Add("Test")
lsvReport.Items.Add("Test2")
lsvReport.Items.Add("Test3")
It doesn't put next to each other it add on to each line, how can I add the text to the columns that I want?
Thank You
'Create the Columns name
lsvReport.Columns.Add("Project Name", 150, HorizontalAlignment.Center)
lsvReport.Columns.Add("Time In", 100, HorizontalAlignment.Left)
lsvReport.Columns.Add("Time Out", 100, HorizontalAlignment.Left)
lsvReport.Columns.Add("Total hours worked", 120, HorizontalAlignment.Left)
Now on the listview I can see the columns name OK, but when I do this
lsvReport.Items.Add("Test")
lsvReport.Items.Add("Test2")
lsvReport.Items.Add("Test3")
It doesn't put next to each other it add on to each line, how can I add the text to the columns that I want?
Thank You