RDLC报表系列四

表格中的值转换:

int值转换为字符串:IIf(Fields!Sex.Value=0,"女","男"),此处不能写Sex.Value==0 否则会报错。

 通过聚合函数 Count得出表格数据行数:=Count(Fields!RowNumber.Value)

 字符串拼接:="共"&cstr(Globals!OverallTotalPages)&"页" 注意此处的&符号以及cstr()函数

原文地址:https://www.cnblogs.com/wgx0428/p/12160622.html