2012年RDLC报告中的日期格式问题 [英] DATE FORMATTING PROBLEM IN 2012 RDLC REPORTS

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

问题描述




我总是在V.S.中管理日期格式很好。 2010年将格式放入相关文本框的格式属性 - 例如dd MMM yyyy hh:mm



在我的所有项目中都像魅力一样。



现在有了2012它不再起作用了。它需要我的改变并保存它 - 但是当我运行报告时,它坚定地坚持格式2012/12/12 10:35:00 AM



这是一个错误,或者现在有一个单独的属性必须设置为使其考虑自定义设置。



任何人都可以帮助拜托?



谢谢

Hi
I have always managed date formatting fine in V.S. 2010 by putting the formatting into the Format property of the relevant Textbox - e.g. dd MMM yyyy hh:mm

Worked like a charm in all my projects.

Now with 2012 it''s not working anymore. It takes my change and saves it - but when I run the report it''s steadfastly stuck on the format 2012/12/12 10:35:00 AM

It''s either a bug or else there''s now a separate property that must be set to make it take the custom setting into account.

Can anyone help please?

Thanks

推荐答案




从不记住,我发现了这个错误。我从数据库中将日期作为字符串而不是DateTime传递。



问候
Hi
Never mind, I found the fault. I passed the date as a string instead of DateTime from the database.

Regards


这篇关于2012年RDLC报告中的日期格式问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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