Guys help please. I have a form that has a check box. And a form containing a list view. How can I display multiple check box in the list view?


Sorry newbie.

Re: How can I display multiple check box in a List View? 80 80

What exactly you are trying to achieve, please elaborate.

Re: How can I display multiple check box in a List View? 80 80

Sir im trying to Display the content of the check box selected into the listview.


In example. I checked 3 box that contains Cat, Dog, Bird. Im trying to Display those three in the listview.

Re: How can I display multiple check box in a List View? 80 80

What does the check boxes contain ?

Are you getting values from database or are static values only.

Re: How can I display multiple check box in a List View? 80 80

Static values only sir.

Re: How can I display multiple check box in a List View? 80 80

create a control array of the check boxes with different caption.

In a loop check if the check box is checked if yes capture the caption property and add to list view.

Re: How can I display multiple check box in a List View? 80 80

hmmm.. Okay okay. Thank you sir :)

Re: How can I display multiple check box in a List View? 80 80

You can try this sample for reference.

Ignore the part of the code that is not required for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.