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
 
Back
Top