Results 1 to 3 of 3

Thread: List View ??

  1. #1

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    List View ??

    How do you store a key value in ListView control in .NET ?
    Like we use to store a key value inside the key parameter of listview and then the text to shown in the text param. How do you do it in .NET ?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: List View ??

    you mean this way !
    VB Code:
    1. ListView1.Items.Add("Item1")

  3. #3

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    Re: Re: List View ??

    Originally posted by Pirate
    you mean this way !
    VB Code:
    1. ListView1.Items.Add("Item1")
    I got the solution. In VB.NET you can use the Tag property associated with each element .... this is the replacement for Key property of VB6.

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