|
-
Aug 9th, 2000, 07:52 PM
#1
Thread Starter
Lively Member
How can I loop through a db and fill a listview control with corresponding column names on the control. I set the column names when the form loads, ie.
ListView.ColumnHeaders.Clear
ListView.ColumnHeaders.Add , , "First Name"
ListView.ColumnHeaders.Add , , "Last Name"
ListView.ColumnHeaders.Add , , "Address"
ListView.ColumnHeaders.Add , , "City"
ListView.ColumnHeaders.Add , , "State"
ListView.ColumnHeaders.Add , , "Zip"
etc.....
I assume I am going to have to do a do until rs.eof loop, but I cannot figure out what to put in between....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|