DataGridViewCheckBoxColumn

M

Manikandan

Hi all !

I have problem in getting the CurrentCell.Value of a
DataGridViewCheckBoxColumn when the checkbox is checked and unchecked.
Here is the event which is raised when the cell content is clicked , the
problem is the value which it returns is not reliable.
Is there any way to resolve this issue or is there any mistake in my
approach.
Any help is appreciated .
Thanks in advance


private void dgvSchemaGridPane_CellContentClick(object sender,
DataGridViewCellEventArgs e)
{

MessageBox.Show(dgvSchemaGridPane.CurrentCell.Value.ToString());

}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top