Hi
i am using List View in vs 2005, i added check box but i can't set the properti enable = false, how to set enabled =false in all checkbox coloumn?

Recommended Answers

All 4 Replies

foreach (ListViewItem temp in YouListViev.Items)
   temp.Items[index of coloum] //your work
foreach (ListViewItem temp in YouListViev.Items)
   temp.Items[index of coloum] //your work

but not work this code, i can't change check box coloumn enabled false

I think you just go on Properties and choose Enabled:False? I think thats what you mean.

if truecoding hasnt solved it, please post a screenshot of ur program.

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.