Howto: Add a CheckBox column to bound WinForms DataGrid

  • Thread starter Thread starter Rajesh Patel
  • Start date Start date
R

Rajesh Patel

check gridcolumnstyle collection of datagrid.

when you go through
datagrid1->properties->tablestylescollection->gridcolumnstylecollection.

you will have button there to add column style. that button is dropdown list
box. open list of that button. you will see add boolean column. that gives
you a checkbox column. with 2/3 states whatever you want.

Rajesh Patel
 
After running a query and binding the data to a DataGrid, I want to add a
Checkbox column ("i.e., Delete/Edit/etc") -
I've seen Asp.Net examples but I'm looking for a WinForms (C#) example.

TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top