in data grid view cell
Sr Name Department
1 amit sales,purchase
2 ankur sales,stock,purchase
when click on 1st row
the checkboxlist should show
checkbox sales is checked
checkbox stock is unchecked
checkbox purchase is checked
when 2nd row clicked
checkbox sales is checked
checkbox stock is checked
checkbox purchase is checked
in windows form
Please Help
CheckBoxList
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Posted Mar 17, 2014, 11:46 PM EDT
you can code for select check box in the Selection changed event of data grid view.
i mean in the selection changed event find the cell template where you check box is resides, convert it to checkbox object and mark that as checked.
Angel Princess100 reputationPosted Mar 17, 2014, 11:50 PM EDT