i have a datagrid view in VS 2008 standard edition,how can i check if there is no value entered in the cell,
how can i write the code.???

please give me and answer someone,


You can use:

if ((string)dataGridView1.Rows[RowIndex].Cells[cellIndex].Value != string.Empty)
/--- myCell is a Cell object

if (myCell.Value == null && myCell.Formula == "")
    //--- Cell is empty