I am reading data from an XLSX file using EPPlus and then, converting it to PDF using MigraDoc. But the date fields show some double values.
For e.g. : 2014-06-17 19.25.14 becomes 41807.8091898148 in the PDF.
_book = _package.Workbook;
_sheet = _book.Worksheets[1];
Table _table;
for (int row = 5; row <= end.Row; row++)
{
Row _row = _table.AddRow();
for ((int col = 1; col <= end.Column; col++)
_row.Cells[col - 1].AddParagraph(_sheet.Cells[row, col].Value.ToString());
}
_pdfRenderer.RenderDocument();
How do I correct it?