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.

What exactly you are trying to achieve, please elaborate.

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.

What does the check boxes contain ?

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

Static values only sir.

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.

hmmm.. Okay okay. Thank you sir :)

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.