Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27199

Need ideas... Comparing Three checkboxes Tag properties to a class Three List(Of T

$
0
0
Hi, i hope you all had a happy x-mas. I hope i can explain this right. I currently have a class that has Three public List(Of string)

Code:

Public class info
public Firstname as List(Of string)
public Lastname as List(Of string)
public Gender as List(Of string)

Now on my form i have Three checkboxes CheckboxFirstname, CheckboxLastName & checkboxGender. On start up i add a tag to each checkbox. FirstName, LastName, Gender. Now what i need help on is when the class info is passed to my form i display it in a listview. But i only want to display each List(Of T depending on if the checkbox that represent it is checked. So i need to check the checkbox is checked, check its tag then display its List depending on checked.

Hope this is clear and open to other suggestions.

Viewing all articles
Browse latest Browse all 27199

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>