check if cell is empty in datatable is empty c# code example
Example: datarow value null check
foreach(DataRow row in table.Rows)
{
object value = row["ColumnName"];
if (value == DBNull.Value)
// do something
else
// do something else
}