Results 1 to 16 of 16

Thread: [RESOLVED] Passing checked items/process to other form

Threaded View

  1. #9
    Addicted Member
    Join Date
    Jan 2013
    Posts
    177

    Re: Passing checked items/process to other form

    You can specify which sub item it is by the name of the colum like so

    vb.net Code:
    1. ListView1.Items(3).SubItems("Name of colum")

    So in that case it will return the value of the column specified of item 3.

    If you are trying to get all the items in that colum you can do this
    vb.net Code:
    1. For Each item As ListViewItem In ListView1.Items
    2.  
    3.             item.SubItems("Name of colum").ToString()
    4.  
    5.  
    6.         Next

    EDIT: Let me double check this, I am more farmiliar with datagridview, but they seem very similar
    Last edited by Crzyrio; May 9th, 2013 at 09:59 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width