Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listview Display of Column having checkboxes

Status
Not open for further replies.

sazd1

Technical User
Dec 28, 2009
6
0
0
BR
I am using VB express 2008 with MSAccess as Database.
I have a table DailyExpenses in MsAccess with four columns of which one is ColumnPaid having checkboxes.
I used following query to display records of DailyExpenses in Listview:
Dim cmd As New OleDb.OleDbCommand("Select * FROM DailyExpenses ", con)

It is working fine but it displays False in the column PAID in Listview instead of checkboxes.
How i can display checkboxes in Listview?
 
I would use a DataGridView for this. It's extremely simple to set up a DataGridView with CheckBoxes. You can do this with the designer when you configure the columns, and you can use DataGridViews in an unbound mode.
 
Thanks. But I am using Listview so is there a way to do that in Listview?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top