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
Loading
Angel PrincessPosted Mar 18, 2014, 3:50 AM
Posted Mar 18, 2014, 3:46 AM
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.