Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Commented Unassigned: cell.DataType = cellValues.Date does not work!! Using built-in NumberFormatId=15 displays only the day part of entire date. [9339]

$
0
0
i am trying to export a datatable to excel ..for columns with int datatype changing cell.DataType= cellvalues.Numbers works . but cell.DataType= cellvalues.Date does not work.

Plus using custom formatting and setting NumberFormatId=15 (built in format) displays only the date part of entire date i.e 14-Mar-2014 is displayed as 14.

Comments: pls do reply. cannot find any solution.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>