3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by cometburn
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
0

Try this...

With MasterList.SelectedItem
            myID = .Text
            lblEmpNo = .SubItems(1)
            txtLastname = .SubItems(2)
            txtFirstname = .SubItems(3)
            txtMiddlename = .SubItems(4)
end with
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.