I have a problem displaying dates in rdlc reports using C#, the date came from sql server is DateTime
type i.e 2013-06-25 02:30:00.000
, but when displayed on report it formats according to local PC regional settings. I can't use CDate()
to format it the way I want because it returns error, I tried to set Format property of the textBox to dd/MM/yyyy
but nothing happened. It seems, it dealt with the date value as string.
How can I bypass the regional settings and let report viewer to deal with it as date not string?