Read Empty (Blank) cell data from Excel using OpenXML in C#

Last Reply 2 months ago By pandeyism

Posted 2 months ago

// how to find Empty cell data

foreach (Cell cell in row.Descendants<Cell>())
{
    dt.Rows[dt.Rows.Count - 1][i] = GetValue(doc, cell);
    i++;
}

 

You are viewing reply posted by: pandeyism 2 months ago.