Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Problem with DateTime field

$
0
0

Hello, I am designing a report in VS 2012 with C#. I have a DataSet, one of the fields of the DataSet is a System.DateTime field.

I need to display in a report this field, and also I need to sort the report for this field, so I can't convert the field to string.

 

The problem is that the report only shows the date, not the time! If I do right click on the field and go to "Give format to the object", the "Sample" is: 01/03/1999 1:23 p.m. but if I go to the preview of the report, the time is not. I can see only 01/03/1999.

 

What can I do? Thanks!


Viewing all articles
Browse latest Browse all 9164

Trending Articles



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