Skip to content

ListView Control problem

try abc

try abc

Asked Dec 28, 2006, 8:37 PM EST2 answers
Share
LinkedInX
Hi i am using listview control in my application, i dont know how to get selected item from the listitems? when i click on any of the item in listview, it will display in messagebox? how to do that?

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Hello abc! it's simple, like you need to use the property: "yourlistviewname".selectedItem, and if u want to display it in the messagebox then: messagebox.show("You Selected" + your listviewname.selectedItem); enjoy tirumal
    0
  • 1 short reply
    • try abc
      0
      thanks a lot
      0