.rdlc报告中的回历日期 [英] Hijri Date in .rdlc report

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

问题描述

我在报表页脚的内置字段中使用执行时间
并使用此表达式

 = Format(Globals!ExecutionTime .Date,"  span>)



我该如何使用Hijri shamsi日期?

 选择 SUBSTRING(转换( varchar ,the_Hijri_date, 131 ), 0  AS  expr1
来自  



之后,您必须在数据集中添加字段"expr1"
然后从RDLC报告中设置字段(expr1)
并运行报告,您将看到回历日期.

可能还有另一种专业的方式!!!


TAMER FAROUK


I use Execution Time in Bulid-in Fields in Footer of report
and use this expression

=Format(Globals!ExecutionTime .Date,"yyyy/M/d")



how can i use Hijri shamsi date ?

解决方案

i think RDLC report no support Hijri date , but i have another way to solve this problem from sql server

select SUBSTRING(convert(varchar,the_Hijri_date,131), 0, 11) AS expr1 
From Table



after that you must Add field " expr1 " in dataset
then from RDLC report set the field ( expr1 )
and run the report you will see Hijri date .

may be there are another professional way !!!


TAMER FAROUK


这篇关于.rdlc报告中的回历日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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