Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add multiple columns of data to a listview
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
How to add multiple columns of data to a listview
Miscellaneous
Thread ID:
00652554
Message ID:
00652554
Views:
60
I'm going through a datarowview and adding items to a listview. My listview has two columns, customername and dob. Here is my current code:
        Dim drv As DataRowView
        Dim s As String = ""
        For Each drv In goView2
            s = ""
            s &= RTrim(drv("LastName").ToString) & ", "
            s &= RTrim(drv("FirstName").ToString) & " "
            ListBox1.Items.Add(s)
            ListView1.Items.Add(s.ToString())
        Next
This fills the first column, but I don't know how to add the DOB.

Thanks for any help.
Kirk
Next
Reply
Map
View

Click here to load this message in the networking platform