Cystal报告的动态数据集 [英] Dynamic data set for Cystal Report

查看:91
本文介绍了Cystal报告的动态数据集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以通过某些用户输入生成的sql查询来告诉或建议如何在C#中动态生成水晶报表的链接。例如,用户输入employee_id并按下按钮以查看该特定employee_id的报告。我正在使用VS 2005并且可以通过在设计时指定数据源来生成报告。
can anybody tell or suggest a link on how to generate crystal reports in C#  dynamically,by an sql query generated by some user input. e.g user enters employee_id and press a button to see report for that particular employee_id. i am using VS 2005 and can generate reports by speccifying datasource at design time.

推荐答案

如果您只是做一些简单的事情,我建议您创建一个参数在报告中并对该参数进行记录选择
If you are only doing something as simple as that, I would suggest creating a parameter in the report and doing a record selection on that parameter


这篇关于Cystal报告的动态数据集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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