"{"Compressed part has inconsistent data length."}" this error occurred on that code.
- private string GetValue(SpreadsheetDocument doc, Cell cell)
- {
- string value = cell.CellValue.InnerText;
- if (cell.DataType != null && cell.DataType.Value == CellValues.SharedString)
- {
- return doc.WorkbookPart.SharedStringTablePart.SharedStringTable.ChildElements.GetItem(int.Parse(value)).InnerText;
- }
- return value;
- }
Kalyani ShevalePosted Nov 24, 2018, 4:45 AM
Laxmidhar SahooPosted Nov 24, 2018, 4:41 AM
Jignesh KumarPosted Nov 23, 2018, 10:24 AM