如何在rdlc中添加列值 [英] how to add column values in rdlc

查看:106
本文介绍了如何在rdlc中添加列值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个报告,其中我想添加列值。比如

名称车辆
sa 23
wa 22
xc 10
总计: 55



i在组外创建了一行,而在车辆列下面的文本框我放了一行表达式如

 = Sum(Fields!vehicles.Value)



但是它给出了错误,另一方面结束如果我把Count而不是Sum它返回3,问题在这里是什么?

解决方案

尝试下面

 = SUM(CINT(字段!vehicles.Value))


i have a report in which i want to add column value.like

Name          vehicles
sa               23
wa               22
xc               10
Total:           55


i have created one row outside the group, and the textbox which is below vehicle column i put an expression like

=Sum(Fields!vehicles.Value)


But its gives error,on the other end if i put Count instead of Sum it return 3,what is the problem is here?

解决方案

try below

=Sum(CInt(Fields!vehicles.Value))


这篇关于如何在rdlc中添加列值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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