如何在运行时向晶体报告添加新数据字段 [英] how to add a new datafield to the crystal report at runtime

查看:67
本文介绍了如何在运行时向晶体报告添加新数据字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在datatbase中,字段名称是主题,但是当我想在水晶报告中显示该数据时,我想将不同主题显示为学生的标题和标记作为每行的数据。为此我已将数据放在数据表dt

中,其中我以标题为主题.plx帮助我解决我的问题....

in datatbase the field name is "Subject", but when i want to show that data in tha crystal report i want to show the distinct subject as the heading and marks of the student as the data of each row. For that i have put the data in the datatable "dt"
in which i have subject as the heading.. plx help me to solve my problem....

推荐答案

可能你应该在CR中使用参数,然后将值传递给代码中的参数。
May be you should use parameters in CR and then pass values to those from your code.


尝试以下链接,可能会帮助你/>




http://stackoverflow.com/questions/5145044/passing-multiple-parameter-to-crystal-report-in-asp-net [ ^ ]

http://www.aspdotnet-suresh.com /2012/01/pass-parameters-to-crystal-reports-in.html [ ^ ]

http://forums.asp.net/t/1803909.aspx/1 [ ^ ]



谢谢
Try following links, May be they will help you


http://stackoverflow.com/questions/5145044/passing-multiple-parameter-to-crystal-report-in-asp-net[^]
http://www.aspdotnet-suresh.com/2012/01/pass-parameters-to-crystal-reports-in.html[^]
http://forums.asp.net/t/1803909.aspx/1[^]

Thanks


这篇关于如何在运行时向晶体报告添加新数据字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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