Remove time in itextsharp pdf document
08.04.2018 12:44:21 datetime now
08.04.2018 I need..
- //Adding DataRow
- foreach (DataGridViewRow row in mp_faktura_listaDataGridView.Rows)
- {
- foreach (DataGridViewCell cell in row.Cells)
- {
- PdfPCell cell2 = new PdfPCell(new Phrase(cell.Value.ToString(), calibri));
- pdfTable.AddCell(cell2);
- }
- }
- //Adding DataRow
- foreach (DataGridViewRow row in mp_faktura_listaDataGridView.Rows)
- {
- foreach (DataGridViewCell cell in row.Cells)
- {
- string dateVal = cell.Value.ToString().Split(',')[0];
- PdfPCell cell2 = new PdfPCell(new Phrase(dateVal, calibri));
- }
- }

Goran BibicPosted Apr 18, 2018, 1:27 PM
Amit GuptaPosted Apr 18, 2018, 1:23 PM
Goran BibicPosted Apr 18, 2018, 1:16 PM
Goran BibicPosted Apr 18, 2018, 1:03 PM
Goran BibicPosted Apr 18, 2018, 1:46 AM
Goran BibicPosted Apr 18, 2018, 1:11 AM
Amit GuptaPosted Apr 18, 2018, 1:02 AM