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


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");
else
     MessageBox.Show("I am false");

© 2001-2010 Copyright Syncfusion Inc. All rights reserved.  |  Privacy Policy  |  Contact  |  Sitemap