Click here to Skip to main content
14,265,815 members
Rate this:
Please Sign up or sign in to vote.
See more:
I want to maintain the check box state in check box column in cell content click of datagrid in c#. When I check the checkbox event is firing but the checkbox state is remaining unchecked.

What I have tried:

Code is as below:
In the cell content click tried as below:
grdWindowsService.CurrentCell.Value = 1; Still the checkbox column is not getting checked.
Consider using data bindings in these scenarios.
Maciej Los 3 days ago
Is this DataGrid for WPF?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100