Question : C# -- Checkbox STATE ?

How can I change the below "Cells["IsDesigner"].State == unchecked" so it works ?
--------------------------------------------------------------------------------------------------------
        private void designerMaintenanceBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            for (int i = 0; i < designerMaintenanceDataGridView.Rows.Count; i++)
            {
                if (designerMaintenanceDataGridView.Rows[i].Cells["IsDesigner"].State == unchecked)
                {
                    MessageBox.Show("UnChecked");
                }
                else
                {
                    MessageBox.Show("Checked");
                }
            }
        }

Answer : C# -- Checkbox STATE ?

What about something like this:

if ((bool)designerMaintenanceDataGridView.Rows[i].Cells[IsDesigner].Value == false)
Random Solutions  
 
programming4us programming4us