Populate second listview with data

I have a listview control 'lvRequests which populates data from an access db. I can then retrieve a value from a row and storing it in a variable: 'item'.

What I am trying to do is, populate listview1 with item. I have tried various ways but keep running into problems. Can someone show hot to me populate a second listview. Many thanks

Dim item As String

    If Not lvRequests.SelectedItems.Count = 0 Then '// check if item is selected.
        With lvRequests.SelectedItems.Item(0)

            item = .SubItems(2).Text
            MessageBox.Show(item)


        End With

    End If

Answers


Need Your Help

How can I optimize a HTML5 + processing.js app?

javascript html5 performance processing.js

I'm working in a HTML5 copy of a NES game (link for reference). It runs very well on my Macbook, but friends are reporting it is slow on their computers. I've done the optimizations that came to my...

prevent jQuery form submit if validation fail

javascript jquery ajax forms

Hi I'm trying to prevent this AJAX submit form function when a validation fails on one of one of the various inputs.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.