954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Listview

Hello please can somebody help me to display a listview item to a textbox.

ahmbil
Newbie Poster
14 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

Hi
Do u want to get all the times to Textbox or selected items?
Code to get the selected item Text of ListView

If Not ListView1.SelectedItem Is Nothing Then
    Text1.Text = ListView1.SelectedItem.Text
End If
selvaganapathy
Posting Pro
547 posts since Feb 2008
Reputation Points: 44
Solved Threads: 100
 

Try this...

With MasterList.SelectedItem
            myID = .Text
            lblEmpNo = .SubItems(1)
            txtLastname = .SubItems(2)
            txtFirstname = .SubItems(3)
            txtMiddlename = .SubItems(4)
end with
cometburn
Junior Poster
122 posts since Feb 2008
Reputation Points: 12
Solved Threads: 19
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You