Question : C# -- "Value==null"

How can I change the below so
"Checked" messageBox displays
since "Value==null" does not work,
since BLANK value "ID1" cells display
as {} in debug mode on attached ?
---------------------------------------------------------
        private void designerMaintenanceBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            for (int i = 0; i < designerMaintenanceDataGridView.Rows.Count; i++)
            {
                if (designerMaintenanceDataGridView.Rows[i].Cells["ID1"].Value==null)
                {
                    MessageBox.Show("Checked");
                }
                else
                {
                    MessageBox.Show("UnChecked");
                }
            }
        }

Answer : C# -- "Value==null"

or ..Equals(System.DBNull.Value)
Random Solutions  
 
programming4us programming4us