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"

Dell has specific firmware that the manufacture's have to put on their drives, this is why you need to buy drives from Dell for Dell Servers.

Random Solutions  
 
programming4us programming4us