is there anybody know how to indicate the checkedbox inside the datagrid is ticked. should i put all the code inside the control something like DataGridView1.CellValueChanged or any other control?

any help will be appreciated.

use the cell click event

and thn u can set the value depending on whether it is already checked or not by using the followin code

dataGridView1.CurrentCell.Value = false;

or

dataGridView1.CurrentCell.Value = true;

thanks for the reply, and it's working =)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.