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
185 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now