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
187 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
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…

808 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