Wednesday, 25 July 2012

RDLC in .NET framework - Date formatting

CDate(Fields!StartDate.Value) may not always work.

Format(Fields!StartDate.Value,"dd-MM-yyyy") - this works.

if StartDate.Value is string then First(Fields!StartDate.Value) works.

HTH,
Anju

No comments:

Post a Comment