Solved

How can I make one of the column of a Listview control to be a checkbox for accepting boolean value?

Posted on 2007-04-10
7
186 Views
Last Modified: 2010-04-15
How can I make one of the column of a Listview control to be a checkbox for accepting boolean value?  I was able to do that for a datagridview control but how do I do it on a listview?  I'm using vs2005 and .net 2.0. thanks.
0
Comment
Question by:lapucca
  • 4
  • 3
7 Comments
 
LVL 16

Expert Comment

by:AlexNek
ID: 18885746
Column editor/ColumnType set to DataGridViewCheckBoxColumn
0
 

Author Comment

by:lapucca
ID: 18885954
thank you, I did that for the datagridview control already.  I want to find out how to do that for a listview control?  Or if tht is possible.  Thanks.
0
 
LVL 16

Expert Comment

by:AlexNek
ID: 18886079
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:lapucca
ID: 18886532
That puts a checkbox on the first column of each item next to the data of that column.  I was looking to get a column of just checkboxes for each row.  Can Listview control do that?  Thanks.
0
 
LVL 16

Accepted Solution

by:
AlexNek earned 500 total points
ID: 18888419
You means any columns as a checkbox. I don't think it is in design. I would like to use a grid in such cases.
0
 

Author Comment

by:lapucca
ID: 18902487
Thank you.
0
 
LVL 16

Expert Comment

by:AlexNek
ID: 18902805
Don't mention it.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question