how to include a checkbox in listview at runtime in c#.
I have an listview.I want to create a checkbox in each row of the listview at runtime.
If i checked a checkbox in listview it will be added that row in my database
Why would you want to do that at runtime? wouldn't it be simpler to just use a checklistbox all the time?
Anyways. what i can suggest is that you create a checklistbox that resides underneath the original listbox.
Hide and disable the one you don't need, and transfer the items between them.
Comment