如何在RDLC报告中将存储过程结果集行显示为列?
问题描述:
大家好,
下面是执行存储过程时的结果集.根据条件,行数将改变.我正在使用类型化的数据集来存储结果集.
Hi All,
Below is the result set when I execute my stored procedure. Based on condition no.of rows will change. I am using typed dataset to store result set.
NSV QTY MONTH/YEAR
264.95 31248 APR/07
273.23 34044 MAY/07
230.96 22232 JUN/07
711.93 81992 JUL/07
427.23 50345 AUG/07
297.90 36961 SEP/07
495.37 43079 OCT/07
648.48 52428 NOV/07
622.06 46364 DEC/07
407.02 46461 JAN/08
605.45 73439 FEB/08
224.81 28121 MAR/08
308.12 33356 APR/08
328.22 35605 MAY/08
372.41 34107 JUN/08
我必须在RDLC文件中显示以上结果,如下所示.
I have to show above result in RDLC file Like below.
APR/07 MAY/07 JUN/07................JUN/08
264.95 273.23 230.96.................372.41
31248 34044 22232 ...............34107
有人请建议我如何执行此要求.我必须使用哪个控件来显示RDLC报告中的数据?如果我使用表格控制,
有没有办法像插入行组那样在列上插入组?
问候,
N.SRIRAM
Anyone Please suggest me how to this requirement. Which control I have to use display data on RDLC report? If I use table control,
Is there any way to insert group on column like insert row group?
Regards,
N.SRIRAM
答
使用ReportViewer控件.看看这个
将RDLC动态绑定到ReportViewer [
Use ReportViewer control. Have a look at this
Dynamic Binding Of RDLC To ReportViewer[^]
是的,使用报告查看器非常好,您可以在这里找到非常好的文章
http://engthunder.wordpress.com/category/reportviewer/ [
yes use report viewer it''s very good and you can find very nice articles here
http://engthunder.wordpress.com/category/reportviewer/[^]
使用数据透视概念< pre lang =" text> ;</pre>
use pivot concept<pre lang="text"></pre>