如何更改.net RDLC报告中的日期格式? [英] How to Change Date Format in .net RDLC Report?

查看:89
本文介绍了如何更改.net RDLC报告中的日期格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将日期列设置为 2013年1月1日,在rdlc中实现此格式的格式是什么?

I need to set my date column as 01-Jan-2013, what is the format to acheieve this in rdlc?

I给出

=CDate(Fields!IssuingDate.Value).ToString("dd-mmm-yyyy")

它无法正常工作。有人发布了 2013年7月2日的格式。

its not working correctly. Any one post me the format for 02-Jul-2013.

推荐答案

使用此格式,您将获得您的输出

Use this you will get your output

=CDate(Fields!IssuingDate.Value).ToString("dd-MMM-yyyy")

这篇关于如何更改.net RDLC报告中的日期格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆