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 ?
Printable 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 ?
you mean this way !
VB Code:
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.Quote:
Originally posted by Pirate
you mean this way !
VB Code:
ListView1.Items.Add("Item1")