Live Chat Icon For mobile
Live Chat Icon

How do I determine whether a checkbox in my datagrid is checked or not

Platform: WinForms| Category: Datagrid

If the column is a boolean column, you can just cast the object returned by the indexer to a bool and use it.

if((bool)dataGridTopics[row, column])
	MessageBox.Show('I am true');
	MessageBox.Show('I am false');

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.