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
184 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

12 Experts available now in Live!

Get 1:1 Help Now