// how to find Empty cell data
foreach (Cell cell in row.Descendants<Cell>()) { dt.Rows[dt.Rows.Count - 1][i] = GetValue(doc, cell); i++; }
I will get back soon.
Hi sachin1234,
Refer below links -
https://stackoverflow.com/questions/36100011/c-sharp-open-xml-empty-cells-are-getting-skipped-while-getting-data-from-excel
https://social.msdn.microsoft.com/Forums/office/en-US/290c0818-1fdd-4e7b-9a35-229d6d00ce83/while-exporting-excel-data-into-c-datatable-using-documentformat-assembly-ignores-blank-cells?forum=oxmlsdk
https://stackoverflow.com/questions/3837981/reading-excel-open-xml-is-ignoring-blank-cells/3981249
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.