populate a listview with data from a datagridview

I have a datagridview that works, but want to use a list view instead.  How can I convert my datagrid view into my listview with .net 2.0 visual basic.
Who is Participating?
How is the grid being populated? Using a datatable/dataset? Use it as a datasource of the list and set display/value members.
chadmanvbAuthor Commented:
Actually  I just need to populate a listview from a sql query. That looks like Select * From dbo.Workstations where DateDiff(second, CHECKTIME, getdate()) <= 30.

I need to use that data to populate a listview, but only want to populate 3 columns from the query called SERIAL, NAME,TYPE.
chadmanvbAuthor Commented:
That worked.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.