Click here to Skip to main content
15,944,837 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Friends,

I added one checkbox in datagridview. When I click(select) the check box,
I need the answer if the checkbox is checked or not. I mean true or false.
How can I get this answer?

Please help me.
Posted
Updated 25-Jan-11 19:28pm
v2

1 solution

Just check the Value property of the cell.

Beware it could be null so test for that before retrieving the Value.
 
Share this answer
 
Comments
sat80890 26-Jan-11 6:13am    
tnx

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900