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
188 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
List<PaisEntity> - show some 1 38
.NET 2008 VB and C# 6 48
RegEx with optional part 4 55
Name Space error VS2015 1 36
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
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…

749 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