all I am using Winform(C#) and RDLC MySQL. In that I try to show the date only in Tablex.
But this date format have time also. How to remove the time.
My Expression is,..
=Fields!date.Value
See my report below.
Thanks in advance?
I am tried =Fields!date.Value.ToString("dd/MM/yyyy") in expression But It through error,.. Error 1 An error occurred while validating. HRESULT = '8000000A'
You can use the FormatDateTime method:
=FormatDateTime(Fields!date.Value, DateFormat.ShortDate)
Or you can set the formatting in the properties window: